home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / compress / wssi522b.zip / WSSI522.DOC < prev   
Text File  |  1992-05-28  |  278KB  |  6,073 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                        Wssindex
  9.  
  10.                                 Disk Indexing Software
  11.  
  12.                             Version 5.22 for MS/PC-DOS and
  13.                  Wssindex/Extended Version 5.22 for AT Class Machines
  14.  
  15.  
  16.                   Programs and documentation copyright (c) 1985-1992
  17.                      by Robert W. Babcock and WSS Division of DDC
  18.                                  All Rights Reserved
  19.  
  20.  
  21.                                 +-------+
  22.                            +----+--+    |               (tm)
  23.                          --+       |    +-------------------
  24.                            |  +----+--+ |  Association of
  25.                            |  |       +-+  Shareware
  26.                            +--+   o   |    Professionals
  27.                          -----+   |   +---------------------
  28.                               +---+---+    MEMBER
  29.  
  30.                                     License Terms
  31.  
  32.           The shareware  version of  WSSINDEX and  associated files  may be
  33.           freely  distributed  provided that  the  entire  package is  made
  34.           available  and only  a reasonable  copying fee  is charged.   The
  35.           shareware version  is fully functional but  displays a commercial
  36.           message  on startup.  Purchasers of the complete package will re-
  37.           ceive the shareware package, a replacement for WSSINDEX.EXE with-
  38.           out  the opening  screen,  and instructions  for suppressing  the
  39.           opening  screen  in future  shareware  releases.   Purchasers  of
  40.           WSSINDEX/EXTENDED will also receive  a protected mode  executable
  41.           and setup files.  Files not included in the shareware package are
  42.           licensed for use by a single user,  or on one machine at a  time,
  43.           and  are not  to  be distributed.   Site  license  users may,  of
  44.           course,  use as many  copies as specified  in their  license.  If
  45.           there  is any  question  about multiple  machines  or users,  the
  46.           "like-a-book" rule applies: it should be impossible for more than
  47.           the licensed number of copies to be used simultaneously.
  48.  
  49.                                90 Day Limited Warranty
  50.  
  51.           The software in the complete package is warranted to perform sub-
  52.           stantially as documented for a  period of 90 days from  your date
  53.           of receipt.  The media on which either the complete or evaluation
  54.           version  of this software is provided is warranted to be readable
  55.           for 30 days.   All  other warranties relating  to this  software,
  56.           whether expressed  or implied, are disclaimed.   Determination of
  57.           the  suitability of this software for a particular purpose is the
  58.           responsibility of the  user.  In no  event shall WSS  Division of
  59.           DDC  or Robert  W. Babcock  be liable  for damages  exceeding the
  60.           price paid to license this software.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                                   Table of Contents
  74.  
  75.           Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   1
  76.  
  77.           Installation  . . . . . . . . . . . . . . . . . . . . . . . .   1
  78.  
  79.           Wssindex/Extended Installation  . . . . . . . . . . . . . . .   2
  80.  
  81.           Unlocking Demo Releases . . . . . . . . . . . . . . . . . . .   3
  82.  
  83.           Overview and Tutorial . . . . . . . . . . . . . . . . . . . .   4
  84.  
  85.           Setup and General Information . . . . . . . . . . . . . . . .   7
  86.  
  87.           Starting up . . . . . . . . . . . . . . . . . . . . . . . . .   8
  88.  
  89.           Pop-up File Selection . . . . . . . . . . . . . . . . . . . .   8
  90.  
  91.           Command Defaults  . . . . . . . . . . . . . . . . . . . . . .   9
  92.  
  93.           Aborting commands . . . . . . . . . . . . . . . . . . . . . .   9
  94.  
  95.           The Dreaded Abort, Retry, Fail? . . . . . . . . . . . . . . .   9
  96.  
  97.           Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  10
  98.  
  99.           Archive and Graphics Files  . . . . . . . . . . . . . . . . .  10
  100.               Archive Formats Supported . . . . . . . . . . . . . . . .  11
  101.               Graphics Formats Supported  . . . . . . . . . . . . . . .  13
  102.  
  103.           Navigating through the menus  . . . . . . . . . . . . . . . .  13
  104.  
  105.           Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . .  15
  106.               Add or label disks  . . . . . . . . . . . . . . . . . . .  15
  107.               Quick Find  . . . . . . . . . . . . . . . . . . . . . . .  15
  108.               Print and other output menu . . . . . . . . . . . . . . .  15
  109.               Write database on disk  . . . . . . . . . . . . . . . . .  15
  110.               Display statistics  . . . . . . . . . . . . . . . . . . .  16
  111.               List directory  . . . . . . . . . . . . . . . . . . . . .  16
  112.               Get or merge a database from disk . . . . . . . . . . . .  17
  113.               Get configuration file and matching database  . . . . . .  17
  114.               Change cOnfiguration  . . . . . . . . . . . . . . . . . .  17
  115.               Add/modify Comments . . . . . . . . . . . . . . . . . . .  17
  116.               Import comments . . . . . . . . . . . . . . . . . . . . .  17
  117.               ReName a disk in the database . . . . . . . . . . . . . .  19
  118.               ReName a disk with a mixed case label . . . . . . . . . .  19
  119.               Remove a disk from the database . . . . . . . . . . . . .  19
  120.               Remove all disks  . . . . . . . . . . . . . . . . . . . .  19
  121.               Purge duplicate Volumes . . . . . . . . . . . . . . . . .  19
  122.               Push to DOS . . . . . . . . . . . . . . . . . . . . . . .  20
  123.               Quit and return to DOS  . . . . . . . . . . . . . . . . .  20
  124.               Quick Quit and return to DOS  . . . . . . . . . . . . . .  20
  125.  
  126.           Wssindex 5.22                   i               Table of Contents
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           Print menu  . . . . . . . . . . . . . . . . . . . . . . . . .  21
  140.               Print (and sort)  . . . . . . . . . . . . . . . . . . . .  21
  141.               Find a file in the database . . . . . . . . . . . . . . .  25
  142.               Quick Find  . . . . . . . . . . . . . . . . . . . . . . .  25
  143.               Zippy text search . . . . . . . . . . . . . . . . . . . .  25
  144.               List Duplicate files  . . . . . . . . . . . . . . . . . .  25
  145.               List Unique files . . . . . . . . . . . . . . . . . . . .  26
  146.               List files which are not Backed up  . . . . . . . . . . .  26
  147.               List Volume names . . . . . . . . . . . . . . . . . . . .  27
  148.               Quick list of Volume names  . . . . . . . . . . . . . . .  27
  149.               Multi-column listings . . . . . . . . . . . . . . . . . .  27
  150.               MulTi-column listing of  duplicate, unique or not  backed
  151.                   up files  . . . . . . . . . . . . . . . . . . . . . .  28
  152.               Disk Covers . . . . . . . . . . . . . . . . . . . . . . .  28
  153.               Disk Labels . . . . . . . . . . . . . . . . . . . . . . .  29
  154.               Read a printer definition file  . . . . . . . . . . . . .  30
  155.               COnfiguration menu  . . . . . . . . . . . . . . . . . . .  30
  156.               Return to main menu . . . . . . . . . . . . . . . . . . .  30
  157.  
  158.           Indexing Menu . . . . . . . . . . . . . . . . . . . . . . . .  30
  159.               Start Indexing  . . . . . . . . . . . . . . . . . . . . .  31
  160.               Add Dummy entries . . . . . . . . . . . . . . . . . . . .  32
  161.               IndeX ignoring labels . . . . . . . . . . . . . . . . . .  32
  162.               List directory  . . . . . . . . . . . . . . . . . . . . .  32
  163.               Label a disk on the labeling drive  . . . . . . . . . . .  33
  164.               COnfiguration menu  . . . . . . . . . . . . . . . . . . .  33
  165.               Return to main menu . . . . . . . . . . . . . . . . . . .  33
  166.               First indexing drive  . . . . . . . . . . . . . . . . . .  33
  167.               Second indexing drive . . . . . . . . . . . . . . . . . .  33
  168.               LaBeling drive  . . . . . . . . . . . . . . . . . . . . .  33
  169.               Indexing sTarts from  . . . . . . . . . . . . . . . . . .  34
  170.               Auto-category strinG  . . . . . . . . . . . . . . . . . .  34
  171.               Ask before replacing  . . . . . . . . . . . . . . . . . .  34
  172.               Auto-Comment  . . . . . . . . . . . . . . . . . . . . . .  34
  173.               AUto-category . . . . . . . . . . . . . . . . . . . . . .  34
  174.               Make .ID entries  . . . . . . . . . . . . . . . . . . . .  34
  175.               DummY entries include subdirectory tree . . . . . . . . .  35
  176.               Query archive extraction  . . . . . . . . . . . . . . . .  35
  177.               Index Hidden files  . . . . . . . . . . . . . . . . . . .  35
  178.               Ignore bacKed up files  . . . . . . . . . . . . . . . . .  35
  179.               Extract archive comments  . . . . . . . . . . . . . . . .  35
  180.  
  181.           Primary Configuration Menu  . . . . . . . . . . . . . . . . .  35
  182.               Printer configuration . . . . . . . . . . . . . . . . . .  36
  183.               SiZe limits . . . . . . . . . . . . . . . . . . . . . . .  36
  184.               Indexing options  . . . . . . . . . . . . . . . . . . . .  36
  185.               Screen, keyboard and Miscellaneous  . . . . . . . . . . .  36
  186.               Default sorting/selection options . . . . . . . . . . . .  36
  187.               Keyboard macros . . . . . . . . . . . . . . . . . . . . .  36
  188.               Configured Exception list . . . . . . . . . . . . . . . .  36
  189.               Which fields to print . . . . . . . . . . . . . . . . . .  37
  190.               Output Format . . . . . . . . . . . . . . . . . . . . . .  37
  191.  
  192.           Wssindex 5.22                   ii              Table of Contents
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.               Load configuration file . . . . . . . . . . . . . . . . .  37
  206.               Save configuration file . . . . . . . . . . . . . . . . .  37
  207.               Return to previous menu . . . . . . . . . . . . . . . . .  38
  208.  
  209.           Printer Configuration Menu  . . . . . . . . . . . . . . . . .  38
  210.               Paper Width to right margin . . . . . . . . . . . . . . .  38
  211.               Paper Length  . . . . . . . . . . . . . . . . . . . . . .  38
  212.               Left Margin . . . . . . . . . . . . . . . . . . . . . . .  39
  213.               Top margin  . . . . . . . . . . . . . . . . . . . . . . .  39
  214.               Bottom margin . . . . . . . . . . . . . . . . . . . . . .  39
  215.               Use Form feeds  . . . . . . . . . . . . . . . . . . . . .  39
  216.               Pause at page breaks  . . . . . . . . . . . . . . . . . .  39
  217.               Printer port Name . . . . . . . . . . . . . . . . . . . .  39
  218.               POstscript printer setup  . . . . . . . . . . . . . . . .  39
  219.  
  220.           Postscript Printer Setup Menu . . . . . . . . . . . . . . . .  39
  221.               Use Postscript printer  . . . . . . . . . . . . . . . . .  39
  222.               Disk output also postscript . . . . . . . . . . . . . . .  40
  223.               Landscape output  . . . . . . . . . . . . . . . . . . . .  40
  224.               Font Size (points)  . . . . . . . . . . . . . . . . . . .  40
  225.               Extra line spacing (points) . . . . . . . . . . . . . . .  40
  226.               Database Size Limits  . . . . . . . . . . . . . . . . . .  40
  227.               Maximum number of Files . . . . . . . . . . . . . . . . .  41
  228.               Maximum number of Subdirectories  . . . . . . . . . . . .  41
  229.               Maximum number of Disks . . . . . . . . . . . . . . . . .  41
  230.               Allocate Memory . . . . . . . . . . . . . . . . . . . . .  41
  231.               Longest allowed Comment . . . . . . . . . . . . . . . . .  42
  232.               Longest allowed category  . . . . . . . . . . . . . . . .  42
  233.               Return to primary configuration menu  . . . . . . . . . .  42
  234.  
  235.           Indexing Configuration Menu . . . . . . . . . . . . . . . . .  42
  236.               Indexing drive number . . . . . . . . . . . . . . . . . .  42
  237.               Make .ID entries  . . . . . . . . . . . . . . . . . . . .  43
  238.               Ask Before replacing  . . . . . . . . . . . . . . . . . .  43
  239.               Auto coMment  . . . . . . . . . . . . . . . . . . . . . .  43
  240.               Auto caTegory . . . . . . . . . . . . . . . . . . . . . .  43
  241.               Ask before eXtracting archive info  . . . . . . . . . . .  43
  242.               Extract comments from archive files . . . . . . . . . . .  43
  243.               Auto cateGory string  . . . . . . . . . . . . . . . . . .  43
  244.               File extensions for Archive information extraction  . . .  43
  245.               File extensions for graPhics information extraction . . .  43
  246.  
  247.           Archive file extraction configuration menu  . . . . . . . . .  44
  248.  
  249.           Graphics file extraction configuration menu . . . . . . . . .  44
  250.               Extension for extraction  . . . . . . . . . . . . . . . .  44
  251.  
  252.           Miscellaneous Configuration Menu  . . . . . . . . . . . . . .  44
  253.               Perform automatic inteGrity check . . . . . . . . . . . .  45
  254.               MaNual cursor motion in menus . . . . . . . . . . . . . .  46
  255.               Function key layout matching IBM  . . . . . . . . . . . .  46
  256.               Use BIOS to read Keyboard . . . . . . . . . . . . . . . .  46
  257.  
  258.           Wssindex 5.22                  iii              Table of Contents
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.               Inverted meaning for PgUp/PgDn  . . . . . . . . . . . . .  47
  272.               Create .BAK files . . . . . . . . . . . . . . . . . . . .  47
  273.               Enable Alarm sound  . . . . . . . . . . . . . . . . . . .  47
  274.               Change Prompt in DOS shell  . . . . . . . . . . . . . . .  47
  275.               Strip High-bit when viewing files . . . . . . . . . . . .  47
  276.               Use color . . . . . . . . . . . . . . . . . . . . . . . .  47
  277.               Use Mouse . . . . . . . . . . . . . . . . . . . . . . . .  48
  278.               Mouse Sensitivity . . . . . . . . . . . . . . . . . . . .  48
  279.               Set Colors  . . . . . . . . . . . . . . . . . . . . . . .  48
  280.               Video board configuration . . . . . . . . . . . . . . . .  48
  281.               Return to primary configuration menu  . . . . . . . . . .  48
  282.  
  283.           Default Sorting and Selection Options Menu  . . . . . . . . .  48
  284.               Selection list  . . . . . . . . . . . . . . . . . . . . .  48
  285.               Sort Keys . . . . . . . . . . . . . . . . . . . . . . . .  48
  286.               Return to previous menu . . . . . . . . . . . . . . . . .  49
  287.  
  288.           Output Fields Configuration Menu  . . . . . . . . . . . . . .  49
  289.               DuPlicate flag  . . . . . . . . . . . . . . . . . . . . .  49
  290.               Size  . . . . . . . . . . . . . . . . . . . . . . . . . .  49
  291.               Date  . . . . . . . . . . . . . . . . . . . . . . . . . .  49
  292.               Time  . . . . . . . . . . . . . . . . . . . . . . . . . .  49
  293.               Seconds . . . . . . . . . . . . . . . . . . . . . . . . .  49
  294.               Volume  . . . . . . . . . . . . . . . . . . . . . . . . .  49
  295.               SuBdirectory  . . . . . . . . . . . . . . . . . . . . . .  50
  296.               Archive file name . . . . . . . . . . . . . . . . . . . .  50
  297.               Comment . . . . . . . . . . . . . . . . . . . . . . . . .  50
  298.               CateGory  . . . . . . . . . . . . . . . . . . . . . . . .  50
  299.  
  300.           Output Format Configuration Menu  . . . . . . . . . . . . . .  50
  301.               Number of Blank lines between headers . . . . . . . . . .  50
  302.               Number of blank lines after Headers . . . . . . . . . . .  50
  303.               File name style . . . . . . . . . . . . . . . . . . . . .  50
  304.               Date style  . . . . . . . . . . . . . . . . . . . . . . .  51
  305.               Archive file delImiter  . . . . . . . . . . . . . . . . .  51
  306.               DeliMiter around first of comment/category  . . . . . . .  51
  307.               Field width for Subdirectories  . . . . . . . . . . . . .  51
  308.               Field width for Archive name  . . . . . . . . . . . . . .  51
  309.               Field width for Comment or category . . . . . . . . . . .  51
  310.               Print comments bEfore categories  . . . . . . . . . . . .  51
  311.               Always start New line for comment/category  . . . . . . .  51
  312.               MaX wrapped print lines per file  . . . . . . . . . . . .  51
  313.               Return to primary configuration menu  . . . . . . . . . .  52
  314.  
  315.           Video Board Configuration . . . . . . . . . . . . . . . . . .  52
  316.               Screen writing method . . . . . . . . . . . . . . . . . .  52
  317.               Use DOS calls for prompts (for screen readers)  . . . . .  53
  318.               Suppress snoW on CGA  . . . . . . . . . . . . . . . . . .  53
  319.               Raw Mode on screen output . . . . . . . . . . . . . . . .  53
  320.               Use BIOS call to set screen size  . . . . . . . . . . . .  53
  321.               AX value for BIOS call  . . . . . . . . . . . . . . . . .  53
  322.               BX value for BIOS call  . . . . . . . . . . . . . . . . .  53
  323.  
  324.           Wssindex 5.22                   iv              Table of Contents
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.               Screen wIdth  . . . . . . . . . . . . . . . . . . . . . .  53
  338.               Screen Height . . . . . . . . . . . . . . . . . . . . . .  53
  339.               AX value for BIOS call on exit or push-to-DOS . . . . . .  54
  340.               BX Value for BIOS call on exit or push-to-DOS . . . . . .  54
  341.               Return to previous menu . . . . . . . . . . . . . . . . .  54
  342.  
  343.           Color Selection Menu  . . . . . . . . . . . . . . . . . . . .  54
  344.  
  345.           The Add-Comments Menu . . . . . . . . . . . . . . . . . . . .  54
  346.  
  347.           WSSINDEX Utilities  . . . . . . . . . . . . . . . . . . . . .  58
  348.               IDADD Conversion Utility  . . . . . . . . . . . . . . . .  58
  349.               WSSMERGE Database Merging Utility . . . . . . . . . . . .  59
  350.               SPLIT Database Splitting Utility  . . . . . . . . . . . .  60
  351.               Database Conversion Utilities . . . . . . . . . . . . . .  61
  352.  
  353.           Problems and Solutions  . . . . . . . . . . . . . . . . . . .  61
  354.               Hard/software requirements  . . . . . . . . . . . . . . .  61
  355.               Known incompatibilities with other software . . . . . . .  62
  356.                   Disk Cache Warning  . . . . . . . . . . . . . . . . .  62
  357.                   Incompatible TSR  . . . . . . . . . . . . . . . . . .  62
  358.               Answers to Common Questions . . . . . . . . . . . . . . .  63
  359.  
  360.           Command Line Parameter Summary  . . . . . . . . . . . . . . .  66
  361.  
  362.           Support . . . . . . . . . . . . . . . . . . . . . . . . . . .  66
  363.  
  364.           The Distribution Package  . . . . . . . . . . . . . . . . . .  67
  365.  
  366.           Ordering Information  . . . . . . . . . . . . . . . . . . . .  69
  367.               WSSINDEX Price schedule . . . . . . . . . . . . . . . . .  69
  368.               WSSINDEX ORDER FORM . . . . . . . . . . . . . . . . . . .  72
  369.  
  370.           Appendix A - Forcing Video Board Type if Autodetection Fails   73
  371.  
  372.           Appendix B - ANSI.SYS Screen Driver . . . . . . . . . . . . .  74
  373.  
  374.           Appendix C - Expanding the DOS Environment  . . . . . . . . .  75
  375.  
  376.           Appendix D - WSSINDEX Database Format . . . . . . . . . . . .  76
  377.  
  378.           Appendix E - Printer Definition Files . . . . . . . . . . . .  77
  379.  
  380.           Appendix F - Character Code Conversion Table  . . . . . . . .  82
  381.  
  382.           Appendix G - WSSINDEX for DEC Rainbow . . . . . . . . . . . .  83
  383.  
  384.           Appendix H - WSSINDEX for TI Professional . . . . . . . . . .  84
  385.  
  386.           Appendix I - Parameters for setting screen sizes  . . . . . .  85
  387.  
  388.  
  389.  
  390.           Wssindex 5.22                   v               Table of Contents
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.                                      Introduction
  404.  
  405.           Have you ever  had to  search through dozens  of disks trying  to
  406.           find a  program or data  file which  you knew you  had somewhere?
  407.           WSSINDEX.EXE is a program  designed to help keep track  of MS-DOS
  408.           files  stored on  floppy or hard  disks.   A database  is created
  409.           which  contains, for all of  your disks, the information normally
  410.           available  from the DOS DIR command, as well as optional comments
  411.           and categories  describing  each file.   The  information in  the
  412.           database may be printed  with various sorting options, or  may be
  413.           searched  for specific  file names  with wild  cards in  case you
  414.           don't remember the exact  name of the  file you are looking  for.
  415.           Additional functions include listing files without current backup
  416.           copies and  extracting  directory information  from  archive  and
  417.           graphics files of various types.  Don't be frightened by the size
  418.           of  this documentation.   The program is menu  driven and easy to
  419.           use without referring  to the  documentation.  Mostly  this is  a
  420.           reference manual to use when the details of some program function
  421.           aren't clear.  If you are a new user, you should read the Instal-
  422.           lation, Overview and Tutorial sections.
  423.  
  424.                                      Installation
  425.  
  426.           Before  you  do anything  else, make  sure  that the  disk(s) you
  427.           received are write protected,  and then make at least  one backup
  428.           copy.   The disks are not  copy protected.  WSSINDEX  and related
  429.           routines, including a machine readable version of this documenta-
  430.           tion file,  are  shipped as  compressed,  self-extracting  files.
  431.           This  lowers the number of  disks required, and  also provides an
  432.           automatic check during the installation that the disk(s) have not
  433.           been damaged.  The steps required for program extraction may vary
  434.           from release to release; you will find an instruction sheet pack-
  435.           aged with the distribution disks.
  436.  
  437.           The extracted files generally include  the version number as part
  438.           of the file  name.   For example, the  main program  WSSINDEX.EXE
  439.           becomes WSSI522.EXE.   To  avoid  confusion, I  suggest that  you
  440.           rename  the  executable  files  to  WSSINDEX,  IDADD,  SPLIT  and
  441.           WSSMERGE (.EXE  in all cases).   If you are running  DOS 2.x, you
  442.           must rename the program files this way if you want  to use either
  443.           the overlaid version  of WSSINDEX or the virus checking code.  Of
  444.           course, you can  name the files whatever you like,  but the above
  445.           numbers  will  be  used   throughout  this  documentation.    The
  446.           WSSINDEX/Extended executable is named WSEXT522.EXE; the suggested
  447.           generic name  is WSSIEXT.EXE.   Since WSSINDEX/Extended  does not
  448.           run  under DOS 2.x, the integrity check does not require renaming
  449.           the executable.
  450.  
  451.           All purchasers receive the  shareware evaluation version which is
  452.           fully functional, but the main program, WSSINDEX.EXE, displays an
  453.           opening  commercial.  The evaluation routine has a "D" (for demo)
  454.           as the last  character of the file name, i.e. WSSI522D.EXE  (Note
  455.  
  456.           Wssindex 5.22                   1                    Installation
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.           that the file names vary slightly for the DEC Rainbow  and TI Pro
  470.           versions.  Generally, a single letter is appended, and where this
  471.           makes the file name  longer than 8 characters, another  letter is
  472.           dropped.)   If  you  purchased the  complete package,  additional
  473.           self-extracting files are  included which contain WSSI522.EXE,  a
  474.           replacement   executable   without   the   opening   screen   and
  475.           WSSI522.DOC, this documentation in ascii format.
  476.  
  477.                             Wssindex/Extended Installation
  478.  
  479.           The  extended version  of Wssindex  uses a DOS  extender licensed
  480.           from  Ergo Computing to  allow access to  up to 16MB  of extended
  481.           memory with  an 80286, 80386 or 80486 CPU.  This requires switch-
  482.           ing the CPU into what is called "protected mode".  However, it is
  483.           necessary  to switch back to "real mode" before any DOS functions
  484.           can  be used.   Since  Intel originally  envisioned that  the 286
  485.           would be used with  an operating system which switched  into pro-
  486.           tected  mode immediately and never came back, getting out of pro-
  487.           tected mode was  made very  difficult.  But  MS-DOS has  remained
  488.           popular, so motherboard manufacturers have used various tricks to
  489.           allow switching back to real mode.  Generally these involve send-
  490.           ing  a  special command  to the  keyboard controller,  which then
  491.           sends a reset to the CPU.
  492.  
  493.           The significance of all this is that the DOS extender has to test
  494.           your system to find out which  way of switching back to real mode
  495.           works  best.  This  testing is done  once using  a program called
  496.           TUNE which  stores its results in the  protected mode executable.
  497.           If TUNE tries something which doesn't work with your hardware, it
  498.           may crash  your system,  probably disabling  the keyboard  in the
  499.           process.   If  this happens,  use your  hardware reset  button or
  500.           power switch to reboot  and try again.  TUNE writes  a checkpoint
  501.           file and will continue from the point of failure.  If you have an
  502.           expanded  memory manager  such  as QEMM  or 386-to-the-Max  which
  503.           supports  the VCPI standard, TUNE  will detect this  and tell you
  504.           that no tuning is  necessary.  TUNE has  an internal database  of
  505.           common  machines and may recognize  your machine and  not need to
  506.           run any  tests.  TUNE  may also generate  a small file  with your
  507.           machine configuration  and ask you to upload  it to the Ergo Com-
  508.           puting BBS.   Of course,  doing this is  optional, especially  if
  509.           TUNE  did not crash your  machine.  TUNE  configuration files can
  510.           also be sent to WSS/DDC for forwarding to Ergo.
  511.  
  512.           Instructions   for   running   TUNE   are   included   with   the
  513.           Wssindex/Extended disk.  Basically, you type
  514.  
  515.               TUNE -k filename
  516.  
  517.           where filename is  WSEXT522.EXE (if not  renamed) and follow  the
  518.           screen prompts.
  519.  
  520.  
  521.  
  522.           Wssindex 5.22                   2                    Introduction
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.           Besides TUNE'ing, there  are some setup  parameters which can  be
  536.           adjusted  using 286SETUP.EXE.   Probably  the only one  which you
  537.           might want to adjust  is the amount of memory reserved for shell-
  538.           ing to DOS; lower this if you are hitting database memory limits,
  539.           increase it if you don't have enough memory to run other programs
  540.           under Wssindex.  To run 286SETUP, type
  541.  
  542.               286SETUP -k filename
  543.  
  544.           and  follow the  on-screen help  instructions.   If there  is any
  545.           question  about how  much extended  memory is available,  run the
  546.           utility WHATMEM.EXE.
  547.  
  548.                                Unlocking Demo Releases
  549.  
  550.           The  acknowledgement letter  sent to  full purchasers  includes a
  551.           personal  password which can be used to suppress the opening com-
  552.           mercial of the evaluation demo.   The DOS SET command is  used to
  553.           define two environment  variables, WSSUSER and WSSPASS,  whenever
  554.           the demo  version is run.   The first  of these is  typically the
  555.           user name, the second a  7 or 8-digit number.  For  example, John
  556.           Q. Public might include the lines
  557.  
  558.               SET WSSUSER=JPublic
  559.               SET WSSPASS=12345678
  560.  
  561.           in his AUTOEXEC.BAT file.  The program retrieves the value of the
  562.           WSSUSER  variable, does  some  arithmetic operations  on it,  and
  563.           checks to see whether the result matches the value of the WSSPASS
  564.           variable.   If so, the  opening commercial screen  is suppressed.
  565.           The WSSUSER variable must be entered exactly as specified in your
  566.           registration letter; changing the case or including spaces around
  567.           the  equal signs will cause  the program to  either not recognize
  568.           the password or will change the expected value of WSSPASS.   Pur-
  569.           chasers of versions  released before the password  scheme was im-
  570.           plemented may contact WSS/DDC to receive a password.  The maximum
  571.           database size will be slightly reduced  by the memory used by the
  572.           code which checks the  password; otherwise an unlocked demo  ver-
  573.           sion will be  indistinguishable from the standard  release.  This
  574.           password  scheme is probably not  very hard to  defeat; if you do
  575.           so, please keep the technique to yourself.
  576.  
  577.           Demo releases sent  to various online  and disk copying  services
  578.           are  compressed using  PKWare's PKZIP.   These  files include  an
  579.           authenticity check which is  difficult, but apparently not impos-
  580.           sible, to defeat.  When such files are extracted using PKZIP, you
  581.           should  see the  message  "Authentic files  Verified!   #  RLQ256
  582.           Software by WSS Division of DDC."  If there is any change in this
  583.           message, particularly in the serial number  RLQ256, it means that
  584.           the  file has been modified  and should be  treated with caution.
  585.           Various BBS's may add a ZIPfile comment; this will not change the
  586.           authenticity check.  On the other hand, the self-extracting files
  587.  
  588.           Wssindex 5.22                   3                    Introduction
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.           I send to purchasers may be created by another compression utili-
  602.           ty such  as LHARC.   A  ZIP file with  no authenticity  check may
  603.           merely be a repackaging of files I send to purchasers.
  604.  
  605.                                 Overview and Tutorial
  606.  
  607.           This  section is an introduction  to WSSINDEX for  new users.  It
  608.           contains enough  information to  get you started,  but eventually
  609.           you  will probably want to  browse through the  Setup and Command
  610.           Reference sections.
  611.  
  612.           What is it?   WSSINDEX creates and maintains  a database with all
  613.           the information about your disks available  from the DIR command,
  614.           plus  optional  descriptive comments  and  categories.   You  can
  615.           search  the database interactively, or you can print reports with
  616.           various  sorting  and selection  options.    Output option  allow
  617.           printing disk labels and disk covers.  The most common use of the
  618.           program is  to keep  track of  files  on a  collection of  floppy
  619.           disks, but you can index anything which looks like a disk to DOS,
  620.           including hard disks, RAM  disks and some tape cartridges.   (Un-
  621.           fortunately, almost  all tape  systems use special  formats which
  622.           Wssindex  cannot read.  But if  your tape software makes the tape
  623.           look like  a disk to  DOS, Wssindex can  probably read it.)   One
  624.           option allows hard disk users to make a listing of all files on a
  625.           hard disk which do not have backup copies on another disk.
  626.  
  627.           What hardware  and software do I  need?  For the  DOS version, an
  628.           IBM-PC or moderately compatible  MS-DOS machine (versions for the
  629.           Dec Rainbow  and Texas  Instruments Professional are  also avail-
  630.           able), DOS-2 or higher  and either an IBM compatible  video board
  631.           or support for ANSI escape sequences.  If you lack both of these,
  632.           the  screen display will be hopelessly  garbled; more details be-
  633.           low.   The program will run  in 256K of memory,  but the database
  634.           size will be extremely limited; 640K is recommended.  A mouse may
  635.           be used.   Wssindex/Extended, which can  handle larger databases,
  636.           requires an AT class  machine (286 or higher CPU), DOS-3 or high-
  637.           er, and a  disk larger than  360KB for saved  databases.  1MB  or
  638.           more of extended memory is recommended.
  639.  
  640.           How many  disks can I index?   With the  DOS version, there  is a
  641.           hard limit (set by the 64K segment size of the Intel 80x8x series
  642.           CPU's) of approximately 16K  files (or disks, or subdirectories),
  643.           and a practical limit of 10-12K files if you have 640K of memory.
  644.           Extended  or expanded memory is  not used, but  DOS memory beyond
  645.           640K is used if  your system supports  it.  The extended  version
  646.           does use extended  memory and  the maximum database  size is  in-
  647.           creased  accordingly.   For example,  with 6MB RAM,  over 100,000
  648.           files can be indexed.
  649.  
  650.           How do I run  the program?   Start it up  by typing WSSINDEX  (or
  651.           WSSInnn if you haven't  renamed the executable file and  it still
  652.           includes the version  number).  If you are not running the regis-
  653.  
  654.           Wssindex 5.22                   4                    Introduction
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.           tered  version, read the opening commercial screen and hist a key
  668.           to continue.   You will get a message that the configuration file
  669.           was not found; hit  return and you will get a prompt  for a data-
  670.           base  name.  You haven't created a  database yet, so just hit es-
  671.           cape.
  672.  
  673.           "Help!  my screen is all messed up.   I see funny numbers, square
  674.           brackets  and other  garbage mixed  in with  normal text."   This
  675.           isn't  supposed to happen  any more, but  if it does,  you may be
  676.           able  to recover by hitting escape 2  or 3 times followed by con-
  677.           trol-Q.  Then, read appendices A  and B for a description of what
  678.           is happening and how to fix it.
  679.  
  680.           At  this point you are  running with default  option settings in-
  681.           cluding   white-on-black  colors and  mouse  disabled.   You  can
  682.           change options at this  point or later; simply select  the change
  683.           cOnfiguration  option on the main  menu by typing  "O".  Probably
  684.           the  first thing to check  is the video  output method; CGA, MDA,
  685.           EGA  or VGA are much faster than  DOS and enable boxes around the
  686.           menus.  (Drawing the menu boxes with DOS calls would be painfully
  687.           slow.)  To get to the menu screen which sets this option from the
  688.           primary  configuration menu, select M and  then V.  This menu op-
  689.           tion is buried several menus deep because you only need to set it
  690.           once, and you lose your screen display if you accidentally change
  691.           it to  the wrong value.  You  may also want to  enable use of the
  692.           mouse from the  screen, keyboard and miscellaneous  configuration
  693.           menu.
  694.  
  695.           From the main menu hit A to move to the indexing menu.  If neces-
  696.           sary, hit  F and S to enter the first and second indexing drives.
  697.           If you have two  drives, you can select A and B  and use then al-
  698.           ternately; otherwise just select the same drive  twice.  Hit I to
  699.           start indexing.  You  will be told to  insert a disk and  hit the
  700.           space bar; do so.  If the disk was previously labeled (by the  /V
  701.           option  of FORMAT  or by some  other utility), the  label will be
  702.           displayed and the disk directory information will be added to the
  703.           database.  If  the disk was  not labeled, you  will be given  the
  704.           options to  write a label  on it, enter a  label to use  (but not
  705.           write on the  disk), list the  directory on screen, or  return to
  706.           the  menu.  WSSINDEX will  spend a few  seconds reading the disk,
  707.           and will then prompt you to  hit the space bar to index  the next
  708.           disk.  Feed in  a few disks this way, then hit  return instead of
  709.           space to stop indexing, and then R to return to the main menu.
  710.  
  711.           Now you can try  some of the program options.  Hit  D and see how
  712.           many files and  disks you  have entered.   Hit P to  move to  the
  713.           File/volume listing menu, and then P again to print the database.
  714.           When asked  for selection/rejection  options, just hit  return to
  715.           select everything.  When asked for sorting options, enter 1,2 and
  716.           hit return.   And when asked  to select printer, screen,  disk or
  717.           export output, hit S.  You should now get a screen listing of all
  718.           files in the database, sorted by name and extension.  If the list
  719.  
  720.           Wssindex 5.22                   5                        Overview
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.           does  not fit on a single screen,  you can page forward and back-
  734.           ward with the PgDn and PgUp keys.  At the top of the list will be
  735.           dummy entries for each  disk and subdirectory.   See page 22  for
  736.           how to control whether or not these appear.  If you don't want to
  737.           see the entire listing you  can interrupt it by hitting ^C  (con-
  738.           trol-C) while the  screen is being  painted, or hit  Q after  the
  739.           screen  fills.  When the  listing finishes and  you return to the
  740.           menu display, enter  ^F for quick find.   When prompted  for file
  741.           specs, enter wildcard specifications one per line, ending with an
  742.           empty line.  For example, *.COM and  *.EXE will match all execut-
  743.           able files.  All files which match these specs  will be displayed
  744.           on screen in the same format as before.
  745.  
  746.           There are four different types of disk files which can be written
  747.           by WSSINDEX: (1) configuration  files (default name WSSINDEX.CNF)
  748.           which contain setup information and are short, (2) database files
  749.           (default  name WSSINDEX.DIR)  which  contain  the disk  directory
  750.           information  and can be quite large, (3) printer files which con-
  751.           tain output which could instead have been sent to the screen or a
  752.           printer, and (4) export files which  can be read by database pro-
  753.           grams.  Only the first two of these can be read by WSSINDEX.
  754.  
  755.           From  the main menu,  select option W  to write a  database file.
  756.           You will be prompted with a default name of d:\path\WSSINDEX.DIR.
  757.           You can  hit return to accept  this default, or you  can edit it:
  758.           use the cursor keys, insert,  delete, control-arrow for word tab-
  759.           bing, etc.  You can also hit TAB to get a pop-up list of database
  760.           file names, but usually doing this doesn't make much sense unless
  761.           you want to check  whether a database name already  exists before
  762.           saving a new database.
  763.  
  764.           Select option Q (or ^Q) and return to DOS.  Verify that the data-
  765.           base file was written where you expected.
  766.  
  767.           Restart the  program.  If you saved a configuration file with the
  768.           default  name (the instructions above didn't tell you to do this,
  769.           but you might  have done so anyway if you  were adventurous), no-
  770.           tice that it is  automatically restored and you are  prompted for
  771.           the name of a database file to read.  Otherwise,  after configur-
  772.           ing,  select the G option to get  a database from disk and reload
  773.           the database  you just  saved.   From the print  menu, use  the V
  774.           option to list the volumes in  the database, sorted by name, free
  775.           space, date indexed or unsorted.
  776.  
  777.           Now you have a feel  for how the program operates and  you should
  778.           read  at least  up until  the detailed  menu descriptions.   Some
  779.           important things  you will find are instructions for changing the
  780.           default names for the  configuration and database files, detailed
  781.           explanation  of all  the  program options,  and  how to  use  the
  782.           add-comments section.   Also look  at the Problems  and Solutions
  783.           chapter  for the answers to some commonly asked questions, and at
  784.           the  Utilities chapter  for descriptions  of the  various utility
  785.  
  786.           Wssindex 5.22                   6                        Overview
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.           routines.   If you want to print  disk labels or disk covers, see
  800.           the documentation for the print menu.
  801.  
  802.                             Setup and General Information
  803.  
  804.           Before running WSSINDEX, there  are several DOS environment vari-
  805.           ables which  you may want  to set to  establish defaults for  the
  806.           configuration file name,  the database name, and  your video dis-
  807.           play  type.  Doing this  is optional, but  recommended for smooth
  808.           operation.
  809.  
  810.           The DOS environment is  just a list  of character strings of  the
  811.           form
  812.  
  813.                   VARIABLE=value
  814.  
  815.           You make,  view or delete entries  in this list with  the DOS SET
  816.           command.   From  the DOS  prompt, type SET  to view  your current
  817.           settings.  You  should see something like  COMSPEC=d:COMMAND.COM,
  818.           and probably other items  used by other software packages  or the
  819.           PROMPT command.  You will probably find  it convenient to put SET
  820.           commands in your AUTOEXEC.BAT file.  If you get  an error message
  821.           that you have run out of environment space, see appendix B.
  822.  
  823.           When issuing SET commands, do not include any blank spaces around
  824.           the equals signs.  The four commands:
  825.  
  826.               SET X=Y
  827.               SET X =Y
  828.               SET X= Y
  829.               SET X = Y
  830.  
  831.           mean different things.
  832.  
  833.           The environment variables used by WSSINDEX are
  834.  
  835.               WSSDISP = default display type
  836.               WSSICNF = default configuration file name
  837.               WSSIDIR = default database name
  838.               WSSPRINT = default printer definition file
  839.  
  840.           WSSINDEX  and the utility routines attempt to determine what type
  841.           of video card you  have, but you can manually override  the auto-
  842.           matic selection.  This  might be necessary on machines  with more
  843.           than one video  board or when smart hardware  tries to sense what
  844.           type of video board the software is trying to address.  The video
  845.           type  is saved  in  configuration files,  but  you can  also  use
  846.           WSSDISP to specify this; legal values are D, C, M, E or V for DOS
  847.           calls, color graphics adapter, monochrome display adapter, EGA or
  848.           VGA.  (Actually, only the first  character is used, so you can be
  849.           more mnemonic.)
  850.  
  851.  
  852.           Wssindex 5.22                   7                        Overview
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.           If you do  not specify  the configuration file  or database  file
  866.           names  on the  command  line, they  default  to WSSINDEX.CNF  and
  867.           WSSINDEX.DIR  on the current drive in the current directory.  You
  868.           can change these defaults  with the environment variables WSSICNF
  869.           and WSSIDIR.  Even  if you use multiple databases  and configura-
  870.           tions, you can still use these variables to specify the drive and
  871.           path.  For  example, if  you keep the  program and  configuration
  872.           files in subdirectory C:\WSSINDEX,  and databases in subdirectory
  873.           C:\WSSINDEX\INDEXES, you might specify
  874.  
  875.               SET WSSICNF=C:\WSSINDEX\
  876.               SET WSSIDIR=C:\WSSINDEX\INDEXES\
  877.  
  878.           (Remember, no spaces around  the equal signs.)  The  startup code
  879.           will use the specified paths and fill in the default file names.
  880.  
  881.           The  WSSPRINT  environment variable  specifies  the  name of  the
  882.           printer  definition file  which is  used by  some options  on the
  883.           print menu.
  884.  
  885.  
  886.                                      Starting up
  887.  
  888.           Type
  889.                     WSSINDEX <config name> <database name>
  890.  
  891.           where  the angle brackets  indicate optional parameters.   If the
  892.           configuration file (first command line argument or default or de-
  893.           fined by  WSSICNF) is read successfully, the program will immedi-
  894.           ately ask  for the name of an existing database to read, and will
  895.           prompt you  with the default name.   If you don't want  to read a
  896.           database, you  can hit escape to  cancel.  On the  other hand, if
  897.           you  specify the database name  as the second  command line argu-
  898.           ment, it is read without confirmation.  If the configuration file
  899.           and database have the  same name (but the usual  extensions), you
  900.           can specify = (an equal sign) for the database name.  Either com-
  901.           mand line  name can be replaced  by an * (asterisk)  as an abbre-
  902.           viation for the default name.
  903.  
  904.  
  905.                                 Pop-up File Selection
  906.  
  907.           When entering names for  input database, configuration or printer
  908.           definition files, you can hit TAB to switch to a list of possible
  909.           files.  These  lists are generated using the  drive, path and ex-
  910.           tension  of the default file name which was displayed just before
  911.           you hit TAB; the wildcard used  is displayed at the bottom of the
  912.           screen.   Also listed, surrounded  by brackets, are  the names of
  913.           subdirectories, including  the parent directory in  the usual DOS
  914.           notation [..].   Move the highlight bar  to the desired entry and
  915.           hit enter, spacebar or a  mouse button.  If no path  is specified
  916.           in the wildcard and  you select the parent directory,  the selec-
  917.  
  918.           Wssindex 5.22                   8                           Setup
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.           tion is interpreted to mean fill in the current directory, but do
  932.           not move up the directory tree.  Once this has been done, you can
  933.           move up the directory tree by selecting  [..] again.  If you want
  934.           to  change to a different drive, edit  that part of the file name
  935.           before hitting TAB.
  936.  
  937.                                    Command Defaults
  938.  
  939.           In many places,  WSSINDEX gives you a default which  will be used
  940.           if you just hit enter.  For text input, you  can edit the default
  941.           with normal  editing keys: left, right  cursor arrows, backspace,
  942.           insert,  delete, control-arrows  for  word tabbing.   File  names
  943.           generally have  default drive,  subdirectory, name and  extension
  944.           components which are established at program startup and change to
  945.           match the last user input.
  946.  
  947.                                   Aborting commands
  948.  
  949.           At most  points you can hit  ESCAPE (CANCEL on a  Dec Rainbow) to
  950.           abort a  command when you are  prompted for text strings  such as
  951.           file name,  disk name, etc.  ESCAPE also backs up one menu level,
  952.           or forces a screen rewrite from the top level menu.   ESCAPE will
  953.           not stop print  operations, use  control-c instead.   If you  hit
  954.           ESCAPE when numeric input is expected, you will still see a "com-
  955.           mand aborted" message,  but all  this means is  that the  default
  956.           value has been used.
  957.  
  958.                            The Dreaded Abort, Retry, Fail?
  959.  
  960.           Certain disk errors will produce a DOS error message, followed by
  961.           an "Abort, Retry, Fail?" prompt (Fail is replaced by Ignore under
  962.           DOS 2), possibly in  an inappropriate screen location if  you are
  963.           using direct video  writes for  screen output.   To minimize  the
  964.           chance  of triggering such a  message, WSSINDEX now  has an error
  965.           handler which will intercept such  messages during indexing or if
  966.           they are  triggered on the first  access of a disk,  and give you
  967.           the opportunity  to correct the problem or  cancel the operation.
  968.           The  usual problems which  can be detected this  way are disk not
  969.           ready or not formatted.   Disk full errors are  handled properly,
  970.           but  at a different level.  In future releases the error handling
  971.           will be extended to catch all disk errors.
  972.  
  973.           The  current coding will not  detect a write  protected disk, nor
  974.           the various failures which can occur in the middle of a file even
  975.           if the disk is properly loaded.  If you do get the "Abort, Retry,
  976.           Fail?" message, you must be careful how you respond.   If you re-
  977.           spond  "A", you return to DOS and  lose whatever you were working
  978.           on.  But,  that's not the worst  thing that can  happen.  If  the
  979.           failure  happens on  a write  operation, say  the wrong  disk was
  980.           inserted and it  had a write protect tab, and  you swap disks be-
  981.           fore  responding "R", DOS  will probably write  the directory and
  982.           file  access table  of the  original disk  onto the  second disk.
  983.  
  984.           Wssindex 5.22                   9                           Setup
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.           This is really  a design flaw in MS-DOS,  not a WSSINDEX problem,
  998.           and most any program can suffer from it.  It is generally safe to
  999.           fix the  problem and retry  with the  same disk.   The result  of
  1000.           ignoring an error will  depend on exactly what  operation failed,
  1001.           but  for read operations you  can usually recover  by ignoring or
  1002.           failing the error, although you may have to do so several times.
  1003.  
  1004.  
  1005.                                    Acknowledgements
  1006.  
  1007.           WSSINDEX started out as an exercise  to learn C for my "real job"
  1008.           and to  fill my needs for  a disk indexing package,  and ended up
  1009.           growing into a major  project.  Two special software  tools which
  1010.           have  proved invaluable  in  producing various  releases of  this
  1011.           package are OPUS MAKE (D. G. Kneller & J. F. Thomason, Opus Soft-
  1012.           ware,  1032 Irving St.  Suite 439, San Francisco,  CA  94122) and
  1013.           the PD M4 macro preprocessor (Ozan S. Yigit with modifications by
  1014.           John Levine).  The video board configuration  information is pri-
  1015.           marily from DOSREF17  Programmer's Technical Reference for  MSDOS
  1016.           and the IBM PC, Copyright 1990  by Dave Williams.  Special thanks
  1017.           to  Paul St. George, Nate Horowitz, Don Wetzel, and other members
  1018.           of  the Sanyo New England Users  Group for encouraging me to dis-
  1019.           tribute my early efforts as shareware.  Also thanks to all  those
  1020.           who  have registered the shareware version, and to those who sug-
  1021.           gested  program  enhancements.     And  finally,  thanks  to  the
  1022.           countless bulletin board sysops who provide the distribution net-
  1023.           work for shareware programs.
  1024.  
  1025.                               Archive and Graphics Files
  1026.  
  1027.           The idea of combining files into  an archive or library, and pos-
  1028.           sibly  compressing them at the  same time, is  older than MS-DOS.
  1029.           WSSINDEX can peer into certain types of archive files and extract
  1030.           directory information.  Note that it is only the directory infor-
  1031.           mation which  is extracted; file  viewing and extraction  are not
  1032.           implemented.   WSSINDEX can also extract  useful information from
  1033.           graphics formats, namely the image size and number of colors. 
  1034.  
  1035.           Archive files are identified  by their file extension.   Since it
  1036.           is possible for a non-archive file to have a name  which makes it
  1037.           appear to be  an archive, you may get warnings when indexing that
  1038.           such files are either not  archives or are corrupted.  If  such a
  1039.           message is given  for a file  which you think  is a archive,  you
  1040.           should use the appropriate archive  utility to test the integrity
  1041.           of the file.
  1042.  
  1043.           In most but not  all cases, extraction of information from an ar-
  1044.           chive file is noticeably slower  than reading a directory because
  1045.           the  information is  scattered throughout  the file,  rather than
  1046.           being concentrated in one place.  You will probably notice  a lot
  1047.           of disk activity when extracting archive information.
  1048.  
  1049.  
  1050.           Wssindex 5.22                   10                          Setup
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.           Some of the  archive formats  may be used  on non-MS-DOS  systems
  1064.           which  allow file  names which  are illegal  under MS-DOS.   When
  1065.           WSSINDEX extracts information from such  an archive, the two com-
  1066.           ponents of the file name are truncated to 8 and  3 characters but
  1067.           retain their original case.   If you transfer archive  files from
  1068.           another operating system to MS-DOS, remember that these are bina-
  1069.           ry files and  improper character translations  can make them  un-
  1070.           readable.  Some  of the archive formats  can include subdirectory
  1071.           information; WSSINDEX will ignore this information.   Some of the
  1072.           archive formats  allow entries to be marked  as deleted; WSSINDEX
  1073.           will  ignore such entries.  If an archive format allows inclusion
  1074.           of comments,  and the WSSINDEX configuration  selects comment ex-
  1075.           traction, the  leading characters of the  comment (after removing
  1076.           any leading or trailing blanks, unprintable characters, box form-
  1077.           ing  characters or strings  of more than  two consecutive blanks)
  1078.           are included in the  database.  The maximum number  of characters
  1079.           extracted used  to be fixed at  64 but is now  configurable up to
  1080.           1023.
  1081.  
  1082.           Archive files introduce two complications in the operation of re-
  1083.           placing a commented disk  in the database.  First,  which comment
  1084.           should be  used if a  comment has been extracted  from an archive
  1085.           and the  file already  had a comment  in the  database?   Current
  1086.           choice is to accept  the comment extracted from the  archive, but
  1087.           I'm  not certain  that this  is the  best choice.    Second, what
  1088.           should be done if a member of an archive file matches the name of
  1089.           an ordinary,  commented  file in  the same  subdirectory?   Quite
  1090.           probably the files  are identical, but  they could be  completely
  1091.           different,  and WSSINDEX has no reliable way to tell which is the
  1092.           case.  The  current program version uses  the following algorithm
  1093.           to decide whether  to copy a comment after it  has found matching
  1094.           file  and subdirectory names: if both  files are archive members,
  1095.           the archive file names must match, and if only one of the pair is
  1096.           in an archive file, the  size and date must match.  I am not com-
  1097.           pletely  satisfied with this algorithm and am open to any sugges-
  1098.           tions for a better technique.
  1099.  
  1100.           The formats  of various archive  files sometimes change  with new
  1101.           releases  of  archiving  programs.    Such  changes  may  prevent
  1102.           WSSINDEX from  extracting information.   For example,  LHARC 2.0x
  1103.           writes by default  files which are not readable by LHARC 1.xx, or
  1104.           by  any version  of Wssindex  older than  5.1.   Fortunately, new
  1105.           compression methods  usually do not require  changing header for-
  1106.           mats, so WSSINDEX is usually not broken by archiver changes.
  1107.  
  1108.                               Archive Formats Supported
  1109.  
  1110.           ARC, ARK,  PAK, PKA, SDN - As far as WSSINDEX is concerned, these
  1111.           extensions all refer to variants of the same type of archive.  An
  1112.           extraction program  might not be able to  handle all of these be-
  1113.           cause  some of them may use unrecognized compression methods, but
  1114.           the header information has the same format in all four.   The ARC
  1115.  
  1116.           Wssindex 5.22                   11     Archive and Graphics Files
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.           extension  is used with the archive format which is currently the
  1130.           most popular.   ARC files may be created by ARC (Systems Enhance-
  1131.           ment  Associates, 21 New Street, Wayne, NJ  07470) or PKARC/PKPAK
  1132.           (PKWare 7545 N.  Port Washington  Road, Suite  205, Glendale,  WI
  1133.           53217).   ARK is the extension  used by a CP/M port  of ARC.  The
  1134.           PAK  extension is used by PAK (NoGate Consulting, P.O. Box 88115,
  1135.           Grand Rapids, MI  49518).  When a version of PKARC was introduced
  1136.           which  had a compression method not recognized by ARC, some users
  1137.           recommended changing the extension to PKA.   SDN is a format used
  1138.           by the  Software Distribution Network, essentially the  same as a
  1139.           PAK file.
  1140.  
  1141.           ARJ  - Files  with this extension  are created by  ARJ (Robert K.
  1142.           Jung, 2606 Village Road  West, Norwood, MA 02062).  ARJ files can
  1143.           span  volumes, in which  case the continuation  files have exten-
  1144.           sions A00,  A01,...  Wssindex recognizes  the continuation files,
  1145.           but does not record  whether an archive member spans  two archive
  1146.           files.  A  recent ARJ  release allows more  than 99  continuation
  1147.           files,  in  which  case   the  extensions  are  3-digit  numbers.
  1148.           Wssindex does  not test whether files with 3-digit extensions are
  1149.           ARJ files because  too many other files  are likely to have  this
  1150.           type of  extension.  The  only conceivable  use for  an ARJ  file
  1151.           which occupies more than 100 disks  is a hard disk backup, and if
  1152.           your backups take more than 100 disks, you really should consider
  1153.           getting a tape drive.
  1154.  
  1155.           HYP - Hyper is a German program by Peter Sawatzki and Klaus Peter
  1156.           Nischke.  An October 15, 1991 PC Magazine comparison of archiving
  1157.           programs rated Hyper best at compressing spreadsheet files.
  1158.  
  1159.           LBR - This format was defined by Gary Novosielski for use on CP/M
  1160.           and  MS-DOS systems and many programs exist which can create this
  1161.           type  of archive.  Although no longer popular, this format allows
  1162.           quick access to any archive member because the directory informa-
  1163.           tion is  all in one  place at the  beginning of  the file.   Time
  1164.           stamps stored  in a LBR file are relative to 1/1/76, but are con-
  1165.           verted to the MS-DOS standard by WSSINDEX.  This means that files
  1166.           dated before 1/1/80 will appear  to be dated 1/1/80.  There  also
  1167.           exist LBR utilities which do not fill in the date and time infor-
  1168.           mation; these will also produce file dates of 1/1/80.  
  1169.  
  1170.           LZH, LZS -  Files with these extensions are  created respectively
  1171.           by  the Japanese programs LHARC  (Haruyasu Yoshizaki) or LARC (K.
  1172.           Miki, H. Okumura, K. Masuyama).
  1173.  
  1174.           ZIP  - ZIP files are  created by PKWare's  PKZIP (address above).
  1175.           ZIP  files extending  across multiple  volumes are  not currently
  1176.           supported by WSSINDEX (or by the  current release of PKZIP).  ZIP
  1177.           files may  be created  on non-MS-DOS operating  systems; WSSINDEX
  1178.           should be able  to handle such  files, except for the  above men-
  1179.           tioned truncation of file  names.  A volume name  stored by PKZIP
  1180.           will appear as a zero-byte file.
  1181.  
  1182.           Wssindex 5.22                   12     Archive and Graphics Files
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.           ZOO - The ZOO archive utility (by Rahul Dhesi) is available under
  1196.           many different operating systems, and the file format is supposed
  1197.           to be the same on all of them.
  1198.  
  1199.                               Graphics Formats Supported
  1200.  
  1201.           The image  size and number  of colors for  graphics files can  be
  1202.           placed in the category field in  the format width x height x col-
  1203.           ors.  If an image  appears to be black and white,  either because
  1204.           of a flag in the file or  because the color table has equal  red,
  1205.           green and  blue intensities for all colors, the category includes
  1206.           the string "monochrome".   When reindexing, this information will
  1207.           not replace an existing category.
  1208.  
  1209.           BMP - Bitmapped images used  by Windows 3.0 and OS/2.   I believe
  1210.           that  earlier versions of Windows  used the same  extension but a
  1211.           different file format, but I have no examples for testing.
  1212.  
  1213.           GIF - Stands for  Graphics Interchange Format, a service  mark of
  1214.           Compuserve.  The GIF format allows for files which do not contain
  1215.           an image, but it is likely that only test files will use this op-
  1216.           tion.  Such files will trigger a warning message.  A GIF file may
  1217.           also contain  multiple images; WSSINDEX  will only see  the first
  1218.           one.   I've seen one example  of what a viewing  program called a
  1219.           GIF file with a MAC header.  Wssindex will reject such a file.
  1220.  
  1221.           PCX - Zsoft format commonly used by paint programs.
  1222.  
  1223.           TIF - Tagged Image Format from Aldus.
  1224.  
  1225.                              Navigating through the menus
  1226.  
  1227.           Wssindex  is controlled  by  a series  of  menus and  data  entry
  1228.           screens.  The  overall structure  is shown in  the figure  below.
  1229.           For the most part, related functions are put on the same menu.  A
  1230.           few items which might logically be used in different contexts are
  1231.           repeated  on multiple menus.  The appearance of the menus depends
  1232.           on  whether screen writing  is done by DOS  calls or direct video
  1233.           writes.  In DOS-calls mode, menus are not surrounded by boxes and
  1234.           there is no highlight  bar because displaying these in  this mode
  1235.           is very time consuming.
  1236.  
  1237.           Operation of the menus is fairly straightforward.  A menu item is
  1238.           selected  by either hitting a trigger key which is highlighted in
  1239.           the menu, or by  hitting return or  space when the highlight  bar
  1240.           and cursor are positioned on the desired item.  The highlight bar
  1241.           can be moved  with the cursor keys or with a  mouse; HOME and END
  1242.           move the  selector bar to the  first and last menu  items respec-
  1243.           tively; ESCAPE returns  to the  previous menu,  or refreshes  the
  1244.           screen if at the top-level menu.  The left mouse button is equiv-
  1245.           alent to the space  bar, the right button to the  return key.  If
  1246.           you hit a  key which is  not the trigger  for any displayed  menu
  1247.  
  1248.           Wssindex 5.22                   13     Archive and Graphics Files
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.           item, it is assumed that you are entering a value for the current
  1262.           item.  The area below a menu box is  used for message display and
  1263.           user entry of items such as file names.
  1264.  
  1265.           After a menu item has been selected, and  any processing for that
  1266.           item  is completed,  an attempt  is made  to make  an intelligent
  1267.           choice whether to leave the cursor positioned on the same item or
  1268.           to advance to the next item.  The method used to select the  menu
  1269.           item affects the decision whether  to advance to the next.   If a
  1270.           menu item is selected  by hitting return or the right  mouse but-
  1271.           ton, the  cursor will always advance  to the next menu  item.  On
  1272.           the other hand, if a menu item is selected by hitting the trigger
  1273.           key,  the space  bar or left  mouse button, the  cursor will only
  1274.           advance to the next menu item  if it seems unlikely that the cur-
  1275.           rent item will be reselected.  For example, if you have toggled a
  1276.           YES/NO  value or typed  in a numeric  value for  a parameter, you
  1277.           probably want to advance to the next item.  If you don't like the
  1278.           automatic  cursor advance, there  is a menu  selection to disable
  1279.           it.
  1280.  
  1281.                 +---------------------------------------------------+
  1282.                 | Main menu                                         |
  1283.                 |     Listing menu                                  |
  1284.                 |     Add disks menu                                |
  1285.                 |     Add comments menu                             |
  1286.                 |     Primary configuration menu                    |
  1287.                 |          Printer configuration                    |
  1288.                 |               Postscript printer setup            |
  1289.                 |          Database size configuration              |
  1290.                 |          Indexing options                         |
  1291.                 |              Default sorting/selection options    |
  1292.                 |              Archive file extraction selection    |
  1293.                 |              Graphics file extraction selection   |
  1294.                 |          Screen, keyboard, miscellaneous          |
  1295.                 |              Color selection                      |
  1296.                 |              Video board configuration            |
  1297.                 |          Keyboard macros                          |
  1298.                 |          Exceptions list                          |
  1299.                 |          Fields to print                          |
  1300.                 |          Output format                            |
  1301.                 |                                                   |
  1302.                 +---------------------------------------------------+
  1303.                     Figure 1. Structure of the Wssindex menu tree
  1304.  
  1305.           Figures show menus as  they appear on screen, or  slightly edited
  1306.           to fit within the margins of this document.
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.           Wssindex 5.22                   14                          Menus
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.                                       Main Menu
  1328.            +-------------------------------------------------------------+
  1329.            |                     Wssindex Main Menu                      |
  1330.            |                                                             |
  1331.            | Major functions                 Database maintenance        |
  1332.            |   Add or label disks              Add/modify Comments       |
  1333.            |   ^F quick find                   Import comments           |
  1334.            |   Print and other output menu     ReName a disk in database |
  1335.            |   Write database to disk          ^N rename with mixed case |
  1336.            |   Display statistics              Remove disks              |
  1337.            |   ^D - list directory             ^R remove all disks       |
  1338.            |   ABout Wssindex                  Purge duplicate Volumes   |
  1339.            |                                                             |
  1340.            | Configuration                   Terminate/suspend           |
  1341.            |   Get or merge database           Push to DOS               |
  1342.            |   ^G get database and CNF file    Quit                      |
  1343.            |   Change cOnfiguration info       ^Q quick quit             |
  1344.            +-------------------------------------------------------------+
  1345.  
  1346.           Figure 2. Wssindex Main Menu.  This top level menu provides imme-
  1347.           diate access to some of the more commonly used functions, as well
  1348.           as entry to the output, indexing and configuration menus.
  1349.  
  1350.  
  1351.           A - Add or label disks
  1352.               This option leads to the indexing menu.
  1353.  
  1354.           ^F - Quick Find (control-f)
  1355.               This is the option to use if you are looking for a particular
  1356.               file by name  and want unsorted screen  output.  You  will be
  1357.               prompted to  enter one or more  wildcard file specifications.
  1358.               This option  is duplicated on  the Print  sub-menu (page  21)
  1359.               where it is discussed in more detail.
  1360.  
  1361.           P - Print and other output menu
  1362.               This option leads to the print sub-menu.
  1363.  
  1364.           W - Write database on disk
  1365.               The  in-memory database is saved  on disk.   The default file
  1366.               name is the first of
  1367.  
  1368.               1.  The last file name used in a Get or Write command
  1369.               2.  The second command line argument
  1370.               3.  The  DOS environment  variable  WSSIDIR (DOS  command set
  1371.                   WSSIDIR=filespec)
  1372.               4.  WSSINDEX.DIR
  1373.  
  1374.               which is defined.  The default file name is displayed and may
  1375.               be edited in the usual way.  A  previously existing file with
  1376.               the same name will either be renamed with a .BAK extension or
  1377.               overwritten (with verification), depending on  which configu-
  1378.               ration option you have  selected.  If creation of  .BAK files
  1379.  
  1380.           Wssindex 5.22                   15                      Main Menu
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.               is enabled, you will not be allowed to use a  filename with a
  1394.               .BAK extension.
  1395.  
  1396.           D - Display statistics
  1397.               This option displays the  number of files, subdirectories and
  1398.               disks  in the database,  and the amount  of contiguous memory
  1399.               remaining for additional  entries.  There  will always be  at
  1400.               least one subdirectory listed,  since the root directories of
  1401.               all  disks are treated as  one subdirectory.   Also listed is
  1402.               the current  database name,  either from the  last read/write
  1403.               operation or the default name.
  1404.  
  1405.               Some points about the  reported memory remaining: this number
  1406.               will only decrease when the number of subdirectories increas-
  1407.               es, or when  comments and  categories are added.   Space  for
  1408.               other  information is  allocated  during the  initial  setup.
  1409.               (This was not true in versions  older than 3.30.)  It is only
  1410.               the  contiguous space remaining which is reported.  If a disk
  1411.               with  subdirectories or  comments is  removed or  replaced, a
  1412.               "hole" may created in the memory space which will be used for
  1413.               comments, etc.  which are added  later.  Some  operations may
  1414.               create  fragments of memory too small to be useful, hence the
  1415.               space remaining may change slightly if you save  the database
  1416.               on disk  and then reload it.   You will receive  a warning if
  1417.               the available space  drops below  4K.  The  program tries  to
  1418.               recover gracefully  from out  of memory  errors, but  doing a
  1419.               save to disk is  strongly recommend if you get  this warning.
  1420.               Also note that opening a file requires at least 2K  for buff-
  1421.               ers, so  you may not  even be able  to save your  database if
  1422.               there is too little memory free.
  1423.  
  1424.           ^D - List directory (control-d)
  1425.               This  command lists  the directory  of a  disk to  the screen
  1426.               (file names only).   There are two options after  hitting ^D:
  1427.               either hit return and the  complete subdirectory tree is dis-
  1428.               played  for the disk in the first  indexing drive, or enter a
  1429.               wildcard file  specification including disk and  path and see
  1430.               everything which  matches that  specification.  Note,  if you
  1431.               enter a  file specification without specifying  the disk, the
  1432.               default  is the currently logged drive, not one of the index-
  1433.               ing drives, and to see all  files on a disk (in one subdirec-
  1434.               tory) you  must use the *.* wildcard, not just d:.  The list-
  1435.               ing can be terminated  by hitting control-c.  You  might want
  1436.               to use  this option to find  out what's on a  disk before you
  1437.               label it,  or to refresh your memory of the names of your da-
  1438.               tabases.   This option  is  duplicated on  the Indexing  menu
  1439.               (page 31).
  1440.  
  1441.           B - ABout Wssindex
  1442.               Displays version number and copyright information.
  1443.  
  1444.  
  1445.  
  1446.           Wssindex 5.22                   16                      Main Menu
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.           G - Get or merge a database from disk
  1460.               Enter the name of a  file previously saved with the  "W" menu
  1461.               option. The default name is the first of
  1462.  
  1463.               1.  The last file name used in a Get or Write command
  1464.               2.  The second command line argument
  1465.               3.  The DOS  environment  variable WSSIDIR  (DOS command  set
  1466.                   WSSIDIR=filespec)
  1467.               4.  WSSINDEX.DIR
  1468.  
  1469.               which is defined.  The default file name is displayed and may
  1470.               be edited in the  usual way, or you can hit  TAB and select a
  1471.               file from a full-screen display.   If you have a  database in
  1472.               memory, you will be  warned and given the options  of merging
  1473.               or replacing.   You will also be warned if you ask to replace
  1474.               a  database  which  has  been changed  without  being  saved.
  1475.               Merged databases are  tested for duplicate volume  names.  If
  1476.               any are found, the "V" option should be used to delete them.
  1477.  
  1478.           ^G - Get configuration file and matching database (control-g)
  1479.               This  option prompts for the name of a configuration file and
  1480.               loads it without displaying the configuration menu.  If there
  1481.               are  no problems  configuring, the  default database  name is
  1482.               changed  to be the same  as the configuration  file name, but
  1483.               with a DIR  extension, and a get-database function is execut-
  1484.               ed.  This same function can also be executed from the command
  1485.               line when  starting up  by specifying the  configuration file
  1486.               name as the first argument and an equal sign (=)  as the sec-
  1487.               ond.
  1488.  
  1489.           O - Change cOnfiguration
  1490.               This option leads to the primary configuration sub-menu.
  1491.  
  1492.           C - Add/modify Comments
  1493.               This options leads to the add-comments screen.
  1494.  
  1495.           I - Import comments
  1496.               This option reads a text file containing file names, comments
  1497.               and  categories and  assigns the  comments and  categories to
  1498.               matching file names  in the currently  loaded database.   The
  1499.               text file might be a listing  of files from a bulletin  board
  1500.               or the ascii output from another disk indexing program.  This
  1501.               option  does not create a database from scratch from an ascii
  1502.               input file,  so it is  not what is normally  called an import
  1503.               routine.   In releases prior to 5.1, this function was imple-
  1504.               mented by a stand-alone utility called WSIMPORT.  That utili-
  1505.               ty is now obsolete.
  1506.  
  1507.               Features:
  1508.  
  1509.               1.  Filename format  may be either  FILENAME.EXT or  FILENAME
  1510.                   EXT (but not a mixture).
  1511.  
  1512.           Wssindex 5.22                   17                      Main Menu
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.               2.  File names, comments and categories may be in any order.
  1526.               3.  Filenames may be in mixed case.
  1527.               4.  Tabs are expanded.
  1528.               5.  Processing speed is around 1000 lines per minute, depend-
  1529.                   ing on the database size and your CPU speed.
  1530.               6.  Header or other garbage lines are ignored.
  1531.  
  1532.               Requirements on the input file:
  1533.  
  1534.               1.  Anything appearing after the comment/category (except the
  1535.                   file name  or category/comment)  will  be interpreted  as
  1536.                   part of the comment or category.
  1537.               2.  File names,  comments and categories must  begin in fixed
  1538.                   columns.
  1539.               3.  Comments and categories must  be on the same line  as the
  1540.                   file name.
  1541.               4.  Lines must end with line feeds (if you can type the file,
  1542.                   it meets this requirement).
  1543.  
  1544.               Before starting  the program, you should  examine the comment
  1545.               file, either by typing it or with a text editor, to determine
  1546.               in which columns the file names (and extensions if the format
  1547.               is not FILENAME.EXT), comments  and categories begin.  Number
  1548.               the columns starting with one,  not zero.  This step  may not
  1549.               be  necessary since Wssindex will show you the first 15 lines
  1550.               of the import file with a  ruler line before asking you about
  1551.               the  file, but if the  comments start after  these lines, you
  1552.               won't see them, and if the lines are longer than  your screen
  1553.               width,  the display may not be very readable.  In general, it
  1554.               is not necessary to remove  headers or other extraneous lines
  1555.               from the input file; they will  simply not match any files in
  1556.               the database and will thus be ignored.  But, if there are any
  1557.               control characters embedded in the comments (such as might be
  1558.               introduced by line noise in a downloaded file) they should be
  1559.               removed or  else they will be  interpreted as the  end of the
  1560.               comment.  You can be a little sloppy with the starting column
  1561.               for comments since  the program will  remove any leading  (or
  1562.               trailing) blanks.
  1563.  
  1564.               You are  prompted for the  name of the  comment file and  the
  1565.               format (FILENAME.EXT or FILENAME  EXT and starting  columns).
  1566.               You will be given  the option to override or  keep previously
  1567.               existing  comments in the database if a new comment is found.
  1568.               If the input file  does not include categories, you  can also
  1569.               specify a category string which will be applied to every file
  1570.               which has a new comment assigned (unless you prohibit replac-
  1571.               ing comments and the  file had a category  but not a  comment
  1572.               previously assigned).
  1573.  
  1574.               After  initializing, the database is sorted  by file name and
  1575.               extension.  You already know about how long this will take if
  1576.               you have used  any of the sorting  options in WSSINDEX.   The
  1577.  
  1578.           Wssindex 5.22                   18                      Main Menu
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.               program remembers the sequence number where each letter first
  1592.               appears, and  starts searching for  matching files there.   A
  1593.               fancier hashing algorithm and a  binary search could be used,
  1594.               but my testing indicates that the sorting time will typically
  1595.               be  as long or longer than the processing time for reasonable
  1596.               sized input files, so not much can be gained here.
  1597.  
  1598.               The comment file is read line-by-line, and lines which appear
  1599.               to contain a filename and a comment are processed.  Note that
  1600.               the same comment may be applied to multiple database entries,
  1601.               since disk and subdirectory names are not checked.
  1602.  
  1603.               When  the program  finishes processing  the comment  file, it
  1604.               prints out a few statistics (number of input lines, number of
  1605.               comments applied, etc.)   and gives you the option  of making
  1606.               another pass  with a  different comment  file.  The  database
  1607.               does not  need to be resorted for  multiple passes, so if you
  1608.               have  multiple comment files,  it saves time  to process them
  1609.               together.
  1610.  
  1611.           N - ReName a disk in the database
  1612.               You  are prompted for old and new  names and the disk name in
  1613.               the database is changed.  Names  are forced to upper case.  A
  1614.               carriage return aborts back to the main menu.
  1615.  
  1616.           ^N - ReName a disk with a mixed case label (control-n)
  1617.               This is the same as  option "N" except that it accepts  lower
  1618.               case characters.
  1619.  
  1620.           R - Remove a disk from the database
  1621.               The volume name to remove may be either typed in or read from
  1622.               disk.  When  typing in a  name, you  can either let  WSSINDEX
  1623.               force your input to upper case or use mixed case.
  1624.  
  1625.           ^R - Remove all disks (control-r)
  1626.               This option clears the database currently in memory.  A warn-
  1627.               ing is  given if the  database has  not been saved  since the
  1628.               last modification.
  1629.  
  1630.           V - Purge duplicate Volumes
  1631.               If  you merge two databases,  you may end  up with duplicated
  1632.               volume names.   Selecting this option purges duplicates.   To
  1633.               decide which  entry to  discard, the  dates indexed are  com-
  1634.               pared.   If the dates are  different, the oldest entry is de-
  1635.               leted.  Otherwise, the number of files on disk is checked and
  1636.               the  entry with the larger number is  kept.  If the number of
  1637.               files  also matches,  the first  entry is  kept.   Deleting a
  1638.               small number  of duplicates  doesn't take terribly  long, but
  1639.               deleting many duplicates  from a large  database can be  time
  1640.               consuming.
  1641.  
  1642.  
  1643.  
  1644.           Wssindex 5.22                   19                      Main Menu
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.           S - Push to DOS
  1658.               Load a secondary copy of COMMAND.COM (or alternate processor)
  1659.               and  temporarily pass control to  it.  Return  to WSSINDEX by
  1660.               typing EXIT at the DOS prompt.  To remind you that you are in
  1661.               a secondary shell, the configuration can be set to change the
  1662.               DOS  prompt to  "EXIT to  return  to Wssindex  <newline> <old
  1663.               prompt>".   You can do  anything you can  normally do at  DOS
  1664.               level, but you  will have less free memory to  work with.  It
  1665.               is best not  to load  a terminate and  stay resident  program
  1666.               here because it will fragment the memory  space.  The DOS en-
  1667.               vironment variable COMSPEC is used to locate the command pro-
  1668.               cessor, so this option will work even if you have renamed, or
  1669.               are using a replacement for, COMMAND.COM.  COMSPEC is normal-
  1670.               ly set up  correctly during  the boot process  and you  don't
  1671.               need  to worry  about it  unless you  have done  something to
  1672.               change it.  If COMSPEC is not defined, an attempt  is made to
  1673.               load COMMAND.COM from the root directory of the logged drive.
  1674.  
  1675.               You must have some free memory to use this option, and insuf-
  1676.               ficient space is the usual cause when this command fails.  On
  1677.               a DOS 2.11 system, I need about 17.5K (as reported by the "D"
  1678.               option);  later DOS's are larger  and will require  more.  Of
  1679.               course, if you want to run a program in the secondary  shell,
  1680.               you    must   also   consider    its   memory   requirements.
  1681.               Wssindex/Extended  leaves considerably more memory free for a
  1682.               DOS shell.
  1683.  
  1684.           Q - Quit and return to DOS
  1685.               You will be warned if the in-memory database has been changed
  1686.               without being saved, and in any case you must verify that you
  1687.               really want to exit.  For your protection, the default option
  1688.               is  N (don't  quit) if  the in-memory  database has  not been
  1689.               saved.
  1690.  
  1691.           ^Q - Quick Quit and return to DOS (control-q)
  1692.               If  the in-memory database  has not been  changed since being
  1693.               saved, this option returns to DOS without asking for  verifi-
  1694.               cation, otherwise it's the same as option "Q".
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.           Wssindex 5.22                   20                      Main Menu
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.                                       Print menu
  1724.           +---------------------------------------------------------------+
  1725.           |                   File/volume listing Menu                    |
  1726.           |                                                               |
  1727.           |   Select/sort/Print   Options requiring printer config file   |
  1728.           |   Find a file                                                 |
  1729.           |   ^F quick find           Multi-column printing               |
  1730.           |   Zippy text search       MulTi-column dup/unique/no backup   |
  1731.           |   Duplicate files         Disk Covers                         |
  1732.           |   Unique files            Disk Labels                         |
  1733.           |   Files not Backed up     REad printer definition file        |
  1734.           |                                                               |
  1735.           |   List Volumes            COnfiguration menu                  |
  1736.           |   ^V quick volume list    Return to main menu                 |
  1737.           +---------------------------------------------------------------+
  1738.           Figure 3. Wssindex print menu.  The options marked as requiring a
  1739.           printer configuration file are intended for printer or disk  out-
  1740.           put.  You can direct their  output to the screen, but there  will
  1741.           not be pauses when the screen fills.
  1742.  
  1743.  
  1744.           P - Print (and sort)
  1745.               The print option first  allows you to select what  files will
  1746.               be listed.   Files to be  listed may be  selected by combina-
  1747.               tions of
  1748.  
  1749.                 1. names and extensions  10. category
  1750.                 2. subdirectory          11. date range
  1751.                 3. disk name             12. size range
  1752.                 4. names starting from   13. exclude configured exceptions
  1753.                 5. extensions from       14. exclude archive file members
  1754.                 6. subdirs starting from 15. only archive files and members
  1755.                 7. disks starting from   16. archive members by arc name
  1756.                 8. disk numerically from 17. zippy search
  1757.                 9. comment               18. select from previous subset
  1758.  
  1759.               You tell the program  which selection criteria to use  by en-
  1760.               tering a list of  numbers separated by commas.   Depending on
  1761.               which options  you chose,  further prompts  will be  made for
  1762.               file  names, etc.    Each file  in  the database  is  checked
  1763.               against all of the selection criteria, and is included in the
  1764.               listing only if  it passes all tests.  This  means, for exam-
  1765.               ple, that while you  can select files in which are  in subdi-
  1766.               rectory \ABCD and match *.DAT, you can not select files which
  1767.               are either in the subdirectory or match the file spec.   This
  1768.               restriction  does not interfere with most selection requests;
  1769.               the  occasional odd request can often be built up with multi-
  1770.               ple passes.
  1771.  
  1772.               Files in the database  can also be excluded from  the listing
  1773.               by the first 10 options  in this list.  You indicate  this by
  1774.               using a negative  selection option number.  Option -1, rejec-
  1775.  
  1776.           Wssindex 5.22                   21                     Print Menu
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.               tion by file name, is essentially the same as option 13,  ex-
  1790.               clusion of configured exceptions, except that different lists
  1791.               of  names are used.  The recommended  mode of operation is to
  1792.               put the file names which you  always want to exclude into the
  1793.               configured exceptions list (which is semi-permanent and rela-
  1794.               tively awkward to  revise), and  use the option  -1 list  for
  1795.               special cases.  For example, depending on the sort order, you
  1796.               may or  may not want to  see the .ID entries  for volumes and
  1797.               subdirectories.  The option -1 rejection list  is the obvious
  1798.               way to get rid of these entries, although you can  also do it
  1799.               by selecting only files larger than 0 bytes.
  1800.  
  1801.               Selection  option numbers  are entered  in  a comma-delimited
  1802.               list; the order is  not significant.  All but options 13, 14,
  1803.               15 and 18 lead to prompts  for more information.  Options -1,
  1804.               1 and 17 accept multiple  items, one per line, ending with  a
  1805.               null  line.  All selection options are case insensitive.  The
  1806.               default list of options is configurable, and can be edited in
  1807.               the usual way.
  1808.  
  1809.               When entering  a list  of wild-card file  specifications, you
  1810.               can  switch to full-screen editing  mode by hitting  tab.  If
  1811.               you immediately tab into full-screen after having  previously
  1812.               entered file selection specifications, the  previous specifi-
  1813.               cations are remembered and  displayed for editing.    You can
  1814.               make  up to  100 entries  (5 columns  of 20  specifications).
  1815.               Normal editing commands are available.  Any  cursor arrow mo-
  1816.               tion off the left or right end of an entry  is interpreted as
  1817.               a move to the next column.   Hitting HOME moves the cursor to
  1818.               the beginning of  the current entry, or if already there,  to
  1819.               the first entry in the list.  Similarly, hitting END moves to
  1820.               either the  end of the current  entry or to the  last item in
  1821.               the  list.  ^E deletes the  current entry, ^A deletes all en-
  1822.               tries, ^R redraws the  screen (useful after deleting entries)
  1823.               and F10 indicates that all entries are completed.
  1824.  
  1825.               If you want archive  file members, but not the  archive files
  1826.               themselves, include *.ARC, *.LBR,  etc. in one of the  excep-
  1827.               tion lists.
  1828.  
  1829.               When character  string input is  required, you can  enter two
  1830.               different  types of wildcard.   The first is  similar to what
  1831.               the  DOS DIR  command accepts:  a question  mark  matches any
  1832.               character and an  asterisk matches all characters  to the end
  1833.               of the string.  A few examples:
  1834.  
  1835.                   * or *.*    matches any file.
  1836.                   *.          matches any file with no extension.
  1837.                   xy*         matches any subdirectory, disk name, comment,
  1838.                               or category which begins with the letters xy.
  1839.                   ???         matches anything 0 to 3 characters long.
  1840.                   return      matches absence of comment or category.
  1841.  
  1842.           Wssindex 5.22                   22                     Print Menu
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.               The  second type of wildcard allows you to search for charac-
  1856.               ters when you don't know  their position in the string.   Es-
  1857.               sentially, this  is a  keyword search,  except that  parts of
  1858.               words can also  be matched.  Simply begin the  string with an
  1859.               asterisk  and put the text immediately after it.  The primary
  1860.               use  for this type of wildcard is for searching comments, but
  1861.               it also works for other string items.  For example:
  1862.  
  1863.                   *LOTUS   matches a string containing the substring LOTUS.
  1864.                   *123     matches a file name containing characters 123.
  1865.                   **       matches any string which contains an asterisk
  1866.                   ?*123.*  doesn't  work  because  the  asterisk  isn't the
  1867.                            first character.   123 will be  ignored; this is
  1868.                            equivalent to *.*.
  1869.  
  1870.  
  1871.               Options  4-8  select ranges  of  file,  subdirectory or  disk
  1872.               names.  For  example, using  option 4, "select  by file  name
  1873.               starting from"  and the  wildcard  FI* would  all select  all
  1874.               files with names beginning with FI,  as well as all files be-
  1875.               ginning with G,H,...   Suppose you have disks filed  in boxes
  1876.               of 100 and you want to make separate listings of the contents
  1877.               of each  group.  If the  disks have numbers as  part of their
  1878.               volume labels, either of the form 321UTILITY or MISC123, then
  1879.               combining options 8 and  -8, you could select files  on disks
  1880.               numbered 100  or greater,  and reject  disks numbered  201 or
  1881.               higher, thus effectively selecting range 100 to 200.
  1882.  
  1883.               Option 17, the zippy search, is a wildcard search which looks
  1884.               almost everywhere: file name, extension, comment and  catego-
  1885.               ry.  A leading asterisk is assumed; you must not add another.
  1886.               The more  comprehensive search  options are slower  than just
  1887.               looking  at the beginning of each string, but they aren't too
  1888.               bad.  The name zippy search is taken from a similar  function
  1889.               in the PC Board bulletin board program; it's actually one the
  1890.               slowest selection options.
  1891.  
  1892.               Option 18,  select from previous  subset, is only  offered if
  1893.               you have previously selected files and have not done anything
  1894.               to invalidate the selection list.   Possible uses include ed-
  1895.               iting  the previous selection if it  included too many files,
  1896.               printing  the  same set  of files  that  were just  viewed on
  1897.               screen, or re-viewing with different sort keys.
  1898.  
  1899.               The selected files are optionally sorted in  ascending or de-
  1900.               scending order by any combination of
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.           Wssindex 5.22                   23                     Print Menu
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.                   1. file name                7. date and time
  1922.                   2. extension                8. category
  1923.                   3. disk name                9. comment
  1924.                   4. disk name as number     10. archive file name
  1925.                   5. subdirectory            11. archive file extension
  1926.                   6. size
  1927.  
  1928.               When prompted, enter  or edit a comma-separated  list of sort
  1929.               key numbers,  changing the sign for  any key you want  in de-
  1930.               scending order.  (The default list is configurable.)  Most of
  1931.               the keys are self-explanatory, but the last two need a little
  1932.               explanation.  If you have elected to extract information from
  1933.               archive files, the file  name and extension used with  keys 1
  1934.               and 2 for members of an archive file are those of the archive
  1935.               file member.   Thus, with only keys 1 and 2, the archive file
  1936.               members  sort by their own names.   Keys 10 and 11 select the
  1937.               archive file name for members of an archive file, or the usu-
  1938.               al  name for ordinary files.  In addition, there are two spe-
  1939.               cial conditions checked:
  1940.  
  1941.               1.  If sort keys 10 and 11 are  used and have higher priority
  1942.                   than 1 and 2, the archive file itself will  sort ahead of
  1943.                   any of its members; 
  1944.               2.  If keys 1 and 2 have higher priority than 10 and 11, then
  1945.                   archive members (and other files) are sorted by their own
  1946.                   names.
  1947.  
  1948.               An interleaved  list of keys such as  1,10,2,11 will probably
  1949.               not do anything useful.   If there are multiple  copies of an
  1950.               archive  file, you will probably want to have the disk and/or
  1951.               subdirectory  as an  intermediate key  when sorting  first by
  1952.               archive file name.  To summarize, 10,11,3,4,1,2 will list ar-
  1953.               chive members following  the containing  archive file,  while
  1954.               1,2 will list all files alphabetically.
  1955.  
  1956.               Sorting  by category and  comment is  case insensitive.   Any
  1957.               votes  on whether  this should  also be  true for  disk name?
  1958.               There is a noticeable  time penalty for making the  sort case
  1959.               insensitive.
  1960.  
  1961.               The  sort is done using the  Quicksort algorithm. The sorting
  1962.               time for a randomly ordered database of N files is O(N*logN),
  1963.               i.e., for large number of files, the sort time is proportion-
  1964.               al to N*log(N).
  1965.  
  1966.               If you elect not to sort (sort key equal zero or just hit re-
  1967.               turn), the selected files  will appear in the order  they are
  1968.               found  in the database, unless the files were selected from a
  1969.               previously  sorted subset,  in which  case the  previous sort
  1970.               order is preserved.
  1971.  
  1972.  
  1973.  
  1974.           Wssindex 5.22                   24                     Print Menu
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.               When  the sort is finished, you can select whether the output
  1988.               goes  to your  printer, screen, a  disk file or  export.  For
  1989.               disk output you will be given the options of suppressing page
  1990.               headers and margins.  Disk output might be massaged by a text
  1991.               editor to change the format, read by another program, printed
  1992.               by  a background printing utility while you do something else
  1993.               in  the foreground,  or  transported to  another machine  for
  1994.               printing; it  is not  readable by the  "G" menu option.   For
  1995.               printer or disk  output, you will be given the  option to in-
  1996.               sert a variable number of blank lines whenever the first sort
  1997.               key changes (for screen output one blank line is inserted).
  1998.  
  1999.               Export  output is  in "Mailmerge"  format, a  standard format
  2000.               which can be read by many database programs.  Fields are sep-
  2001.               arated by a user-selected  character, normally a comma, hence
  2002.               this format  is often  called comma-delimited.   Fields which
  2003.               contain the separator character are surrounded by quotes, and
  2004.               fields which contain a quote  receive special handling.   For
  2005.               some database programs, in particular Lotus 1-2-3, it may  be
  2006.               necessary  to enclose all fields in quotes; you are given the
  2007.               option to do this.
  2008.  
  2009.               Information in the configuration file is used to select which
  2010.               fields  are printed  for each  file,  and to  control paging.
  2011.               When  screen output  is selected,  you can  page  forward and
  2012.               backward with  the PgUp and PgDn  keys, go to the  top of the
  2013.               list with the HOME key (PF1 key for DEC Rainbow) or return to
  2014.               the main menu by hitting Q (or escape).  Control-s will pause
  2015.               any screen display; control-c will abort printing.
  2016.  
  2017.           F - Find a file in the database
  2018.               Find  is equivalent to Print (described  above) to the screen
  2019.               unsorted.
  2020.  
  2021.           ^F - Quick Find (control-f)
  2022.               Quick find  is  equivalent to  Print with  screen output  and
  2023.               files selected by name only.
  2024.  
  2025.           Z - Zippy text search
  2026.               This option is equivalent to Print, with selection option 17,
  2027.               unsorted,  with output  to  the screen.    That is,  you  are
  2028.               prompted for a  string to  search for in  file names,  exten-
  2029.               sions, comments and categories.
  2030.  
  2031.           D - List Duplicate files
  2032.               This option lists all files which match the selection  crite-
  2033.               ria  and have duplicates (which  also match).   Only the file
  2034.               name and  extension, and optionally  the time stamp  and file
  2035.               size, are used  to decide whether  two files are  duplicates.
  2036.               The dummy entries for volumes and subdirectories are automat-
  2037.               ically excluded.
  2038.  
  2039.  
  2040.           Wssindex 5.22                   25                     Print Menu
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.           U - List Unique files
  2054.               This option  lists all files which match the selection crite-
  2055.               ria and do  not have  duplicates which also  match.  This  is
  2056.               similar to the "B" option, but checks all files in a database
  2057.               rather than just those on  a single disk.  The dummy  entries
  2058.               for  volumes and  subdirectories are  automatically excluded.
  2059.               As  with the "D" option,  you can optionally require matching
  2060.               time stamps or  sizes before two files  are considered dupli-
  2061.               cates.
  2062.  
  2063.           B - List files which are not Backed up
  2064.               This option is intended primarily for listing files on a hard
  2065.               disk  which have not been backed up,  but can also be used on
  2066.               floppies.  A file  is considered to be  backed up if  another
  2067.               file  with the same  name and the  same or later  time tag is
  2068.               found on another disk  (possibly in an archive file).   Exact
  2069.               time and size matches are not required because some copy pro-
  2070.               grams  do not preserve the  time stamp, or  even the size for
  2071.               files which are not padded to a full disk sector.
  2072.  
  2073.               When you select this  option, you are given the  usual selec-
  2074.               tion options (described  under the  "P" option).   These  are
  2075.               applied to both the disk being checked for backups and to all
  2076.               other  files in your database.   Thus, selecting  by some op-
  2077.               tions,  such as disk name, doesn't make much sense.  However,
  2078.               to allow checking  a subdirectory rather than  an entire disk
  2079.               for backups,  any subdirectory selection criteria are applied
  2080.               only  to files on the disk being  checked for backup.  On the
  2081.               other hand,  subdirectory rejection  criteria are  applied to
  2082.               all files.  Since only files from a single disk will be list-
  2083.               ed,  you might as well set the configuration to skip printing
  2084.               the disk name  (it will be listed in the  title anyway).  You
  2085.               will  almost certainly want to  use an exception  list to ex-
  2086.               clude *.BAK  (or whatever your favorite  word processing pro-
  2087.               gram names its backup files).  The dummy .ID entries for vol-
  2088.               umes and  subdirectories are automatically excluded.   If you
  2089.               are using the configured exception list, don't forget to  re-
  2090.               quest selection option 13 to use the list, otherwise you will
  2091.               have to stop the listing and try again.  After selection, the
  2092.               database is sorted  using an internally  defined set of  sort
  2093.               keys.
  2094.  
  2095.               If you have  a hard  disk which is  logically partitioned  so
  2096.               that it looks like multiple disks, you probably don't want to
  2097.               consider a file to  be backed up  just because it appears  in
  2098.               two partitions.   To avoid this problem you can either load a
  2099.               database  with only  floppies included,  then index  a single
  2100.               partition  before checking it for backups, or you can use the
  2101.               "R"  option to remove all  but one partition  from your data-
  2102.               base.
  2103.  
  2104.  
  2105.  
  2106.           Wssindex 5.22                   26                     Print Menu
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.               See also the "U" option for checking backups on all disks  at
  2120.               once.
  2121.  
  2122.               If you use a backup utility which creates special files which
  2123.               only it can read, you  probably will not find the "B"  option
  2124.               useful.
  2125.  
  2126.           V - List Volume names
  2127.               The  volumes in the database are listed to printer, screen or
  2128.               disk, sorted by name, by decreasing free space, backwards  by
  2129.               date  indexed, or unsorted (which  will be about  the same as
  2130.               forward by  date indexed unless  the database was  created by
  2131.               merging two databases).
  2132.  
  2133.               When sorting by volume name, you can either treat the name as
  2134.               a  text string or  you can extract any  numerical part of the
  2135.               name and use  that as the key.  As  a text string, "DISK 100"
  2136.               would  sort before "DISK 2", but if the numerical part is ex-
  2137.               tracted, "DISK 2" sorts  first.  If a disk label has two dis-
  2138.               tinct numeric parts, only the first is used as a numeric sort
  2139.               key.
  2140.  
  2141.               The printer configuration information is used to control pag-
  2142.               ing  for printer output; for screen output, you can page for-
  2143.               ward  and backward with the PgUp and  PgDn keys, or hit Q (or
  2144.               escape) to return  to the menu.  The display  for each volume
  2145.               includes the volume name, the number of free bytes, the total
  2146.               number  of bytes  available, the  number of  files (excluding
  2147.               hidden files),  the number  of subdirectories other  than the
  2148.               root directory, the date the disk was last added to the data-
  2149.               base,  whether or not the disk is bootable and optionally any
  2150.               comments entered  describing the disk.   The disk  is assumed
  2151.               bootable  if it has a  COMMAND.COM file, the  presence of the
  2152.               hidden  system files is not verified.  You may abort printing
  2153.               by hitting control-c.
  2154.  
  2155.           ^V - Quick list of Volume names (control-v)
  2156.               This option lists the  volume names to the screen,  sorted by
  2157.               name and without comments.
  2158.  
  2159.           Output options on  the right half of  this menu are  designed for
  2160.           printer output.  Output may be  directed to the screen (or disk),
  2161.           but will not pause when the screen fills.  Control-s  may be used
  2162.           to pause screen output.   A printer definition file  is automati-
  2163.           cally read the first time  you select one of these options.   See
  2164.           Appendix  E if you need information on creating a printer defini-
  2165.           tion file.
  2166.  
  2167.           M - Multi-column listings
  2168.               Similar to the "P"  option, but an additional prompt  is made
  2169.               for the number of  columns used for the printed  output.  The
  2170.               output page width  (from the printer definition file) will be
  2171.  
  2172.           Wssindex 5.22                   27                     Print Menu
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.               divided into the requested number of columns, separated by at
  2186.               least two spaces.   Comments and categories will go  to sepa-
  2187.               rate lines if necessary and so configured.
  2188.  
  2189.               Note:  if the fields prior to  the subdirectory name selected
  2190.               for printing  do not fit in the  column width, output will be
  2191.               truncated, probably in the middle of a field.
  2192.  
  2193.               In order to produce columnar output running  down rather than
  2194.               across the page, an entire page is formatted in memory before
  2195.               printing anything.  On slower machines, this leads to a delay
  2196.               of a few  seconds at the start  of each page.   A hardware or
  2197.               software print spooler may  enable you to drive  your printer
  2198.               more efficiently.   You must  have enough  memory left  after
  2199.               loading  the  database  to  hold  an  entire  formatted  page
  2200.               (slightly more than page width times page length bytes).
  2201.  
  2202.               You  can  include a  printer  initialization  command in  the
  2203.               printer definition file  which will be  sent to your  printer
  2204.               before multi-column output is started.
  2205.  
  2206.           T - MulTi-column listing  of duplicate,  unique or not  backed up
  2207.               files
  2208.               This  option selects duplicate or unique files, or files on a
  2209.               particular disk which are not duplicated on another disk, and
  2210.               lists them in multiple columns.
  2211.  
  2212.           C - Disk Covers
  2213.               A  disk cover is a listing of all the files on a single disk,
  2214.               small enough  to fit into a disk envelope or be pasted on the
  2215.               front of the envelope.  (You  could even define a small cover
  2216.               format and print  it on a label as an  alternative to the "L"
  2217.               option format labels.)  The edges are marked by a box to make
  2218.               cutting to size easy.   You can  select which disks to  print
  2219.               covers for by  volume name (with wildcards),  date indexed or
  2220.               disk  size.  (3.5", 5.25"  and other sizes  are recognized by
  2221.               disk capacity.  Odd  disk formats may not be  identified cor-
  2222.               rectly.)   The output format  is similar to  the multi-column
  2223.               output described above, plus  a header with information about
  2224.               the disk.   You will  be prompted for  the desired number  of
  2225.               print columns.
  2226.  
  2227.               The fields  printed are  selected by the  usual configuration
  2228.               menu.  The disk name and subdirectory names are printed sepa-
  2229.               rately, so  you  should not  include them  in the  configured
  2230.               print fields.   If you use the printer definition in the sup-
  2231.               plied file GENEPSON.DEF, you can fit file size, date and time
  2232.               in 2 columns, date or  size in 3 columns, or file  names only
  2233.               in  4 or 5 columns.   In a single column,  you could even fit
  2234.               comments  of moderate length.  The  characters which are used
  2235.               to form the box  around the cover when printing  may not look
  2236.               at all like  box forming characters  on your monitor  screen.
  2237.  
  2238.           Wssindex 5.22                   28                     Print Menu
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.               The supplied file SCREEN.DEF has more appropriate box charac-
  2252.               ters, and also  sets the width to fit on  an 80 column screen
  2253.               (which might  not be what you  want to do if  you are experi-
  2254.               menting to see  what will fit  on a printer).   To avoid  the
  2255.               necessity  of changing  the  configuration by  hand (and  the
  2256.               probability of forgetting which parameters work best) whenev-
  2257.               er you print covers, you will almost certainly want to have a
  2258.               special configuration  file to  control the printing  of disk
  2259.               covers.
  2260.  
  2261.               Note: as  with multi-column  output, if the  configured print
  2262.               items do not fit in the column width, they will be truncated,
  2263.               probably in the middle of a field.
  2264.  
  2265.               When sorting files for disk covers, the disk name must be the
  2266.               primary sort  key.  Cover printing  enforces this requirement
  2267.               and the prompt  for sort options shows 3 as  the first key in
  2268.               the list, followed by  any configured sort keys.   You cannot
  2269.               print covers without sorting,  so you might as well  add file
  2270.               name and extension  or other  sort options in  the order  you
  2271.               prefer.
  2272.  
  2273.               If you want to print disk covers for any disks with subdirec-
  2274.               tories, and these disks were added to your database by a ver-
  2275.               sion  of WSSINDEX  older than  3.2, then  you should  run the
  2276.               IDADD utility on your database first.  If you do not do this,
  2277.               the disk cover will not include subdirectory names.
  2278.  
  2279.           L - Disk Labels
  2280.               Disk labels are meant  to be printed on small,  self adhesive
  2281.               forms and pasted on your disks.  Suitable forms are generally
  2282.               1 by 3 inches or smaller, so there is only room for a limited
  2283.               amount of information.   WSSINDEX prints the disk  volume id,
  2284.               total and free space, date indexed, number of files (and sub-
  2285.               directories, if  any), descriptive comments for  the disk and
  2286.               subdirectories (if found in database), and directory info for
  2287.               as many  files as will fit,  starting from the largest.   You
  2288.               can also specify one  line of text in the  printer definition
  2289.               file, such as your name, which will be printed at  the bottom
  2290.               of every label.   You can select which disks  to print labels
  2291.               for by a wildcard name, by date indexed or by size.
  2292.  
  2293.               Blank label forms which are one or several labels wide may be
  2294.               used.   You can also  direct output to  the screen or  a disk
  2295.               file.
  2296.  
  2297.               Another option for printing disk labels is the shareware pro-
  2298.               gram Disk  Labeling System, DLS, (Jim  Clark, 2130 Knollshire
  2299.               Road,  Cedar Rapids, Iowa   52402).  Version  2.0 or later of
  2300.               this program can print disk labels from a Wssindex database.
  2301.  
  2302.  
  2303.  
  2304.           Wssindex 5.22                   29                     Print Menu
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.               I am occasionally asked  for a source for blank  disk labels.
  2318.               One vendor I have dealt with is Disks & Labels to Go, Rte 206
  2319.               Eastampton Business  Park, Mount  Holly, NJ   08060, 800-426-
  2320.               3303.
  2321.  
  2322.           R - Read a printer definition file
  2323.               Normally, a printer definition file is read automatically the
  2324.               first time you select a print operation which requires a def-
  2325.               inition file,  so this option is  only needed if you  want to
  2326.               use two  different configurations in the same  session, or if
  2327.               you have  used the S  option to run  an editor to  change the
  2328.               definition file.  The default  name of the printer definition
  2329.               file is the first of
  2330.  
  2331.               1.  The last printer definition file read
  2332.               2.  The DOS  environment variable WSSPRINT  (DOS command  set
  2333.                   WSSPRINT=filespec)
  2334.               3.  WSSPRINT.DEF
  2335.  
  2336.               which is defined.  The default name may be edited in the usu-
  2337.               al  manner, and  TAB  brings up  a  full-screen selection  of
  2338.               printer definition files.
  2339.  
  2340.               See Appendix E for a discussion of the format of printer def-
  2341.               inition files.
  2342.  
  2343.           O - COnfiguration menu
  2344.               This  option takes  you  to the  primary configuration  menu.
  2345.               From there,  you can  make changes  or  save a  configuration
  2346.               file. 
  2347.  
  2348.           R - Return to main menu
  2349.               Returns to previous menu.
  2350.  
  2351.                                     Indexing Menu
  2352.  
  2353.           Additions to the database are made  from this menu.  Many control
  2354.           options are found here, but a  few are only available on the con-
  2355.           figuration menus.
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.           Wssindex 5.22                   30                     Print Menu
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.            +-------------------------------------------------------------+
  2384.            |                    Wssindex Indexing Menu                   |
  2385.            |                                                             |
  2386.            | Start Indexing            Ask before replacing           NO |
  2387.            | Dummy entry index         Auto-Comment                   NO |
  2388.            | IndeX ignoring labels     AUto-category                  NO |
  2389.            | ^D list directory         Make .ID entries              YES |
  2390.            | Label disk                DummY entries inc subdir tree  NO |
  2391.            | COnfiguration menu        Query archive extraction       NO |
  2392.            | Return to main menu       Index Hidden files             NO |
  2393.            | First indexing drive   A  Ignore bacKed up files         NO |
  2394.            | Second indexing drive  A  Extract archive comments       NO |
  2395.            | LaBeling drive         A                                    |
  2396.            | Indexing sTarts from   (none)                               |
  2397.            | Auto-category strinG   (none)                               |
  2398.            +-------------------------------------------------------------+
  2399.                            Figure 4. Wssindex Indexing Menu
  2400.  
  2401.  
  2402.           I - Start Indexing
  2403.               Insert the first disk  to be indexed into the  first indexing
  2404.               drive and hit the space bar when ready.   The processing time
  2405.               is roughly proportional to  the number of files on  the disk,
  2406.               and will typically be only  a few seconds for a  floppy disk.
  2407.               If  the disk is not labeled, you  will be given the option to
  2408.               either  write  a label  on the  disk,  enter an  11 character
  2409.               string to be used in place of a label, list the disk directo-
  2410.               ry or abort back to the menu.  See the "L" option below for a
  2411.               discussion  of "legal" volume names.   If the  Ask before re-
  2412.               placing option is  YES, you  will be informed  if the  volume
  2413.               name matches a volume  already in the database and  given the
  2414.               option  to replace the previous  entry or not  enter the disk
  2415.               into  the database.  Wssindex will  also look at the time tag
  2416.               of the label, compare  it to the  time tag of the  previously
  2417.               indexed disk, and tell you whether the disk appears to really
  2418.               be the same one  or a different one  with a duplicate  volume
  2419.               label.  This test  is not foolproof; a DISKCOPY'ed  disk will
  2420.               have the same time tag.  Versions of  Wssindex older than 5.2
  2421.               did not record  the time tag  for volume labels,  so you  may
  2422.               also be told that the time tag is not available.   The infor-
  2423.               mative  message "NO FILES FOUND IN  d:\*.*" will be generated
  2424.               if there are no files in the root directory, along with simi-
  2425.               lar messages for  other empty directories.  When prompted you
  2426.               may  either insert  another disk  (in the  alternate indexing
  2427.               drive  if configured to  alternate drives) and  hit the space
  2428.               bar, or hit any other key to return to the menu.
  2429.  
  2430.               An  important feature: if you replace a disk in the database,
  2431.               any comments or categories which have been previously entered
  2432.               are not  lost, they are copied  over to the new  entry if the
  2433.               file and subdirectory names match.  Thus you should feel free
  2434.               to re-enter a disk into the database after even small changes
  2435.  
  2436.           Wssindex 5.22                   31                  Indexing Menu
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.               have  been made.  During a replacement operation, the old and
  2450.               new entries are temporarily  in memory at the same  time, and
  2451.               both  count toward the limits  on the number  of files, disks
  2452.               and subdirectories.
  2453.  
  2454.               There is one  circumstance which could make replacing  a disk
  2455.               in the database very  time consuming.  The code  which copies
  2456.               old comments to new entries is a straightforward doubly nest-
  2457.               ed loop, which means that the running time is roughly propor-
  2458.               tional to the square of the number  of commented files.  This
  2459.               is not a problem with floppy disks which seldom have even 100
  2460.               files, but on a hard disk with a few thousand files, the pro-
  2461.               cessing time could stretch  to several minutes.   The obvious
  2462.               solution is to  sort both  sets of names  first, which  would
  2463.               reduce  the processing time  for commented disks,  at the ex-
  2464.               pense  of increasing it for non-commented ones, and I may im-
  2465.               plement this in  a future release.   Comments from registered
  2466.               users are  solicited.   (Does anyone actually  comment enough
  2467.               files on their hard disk to  make this a problem?  So far  no
  2468.               one  has complained  about replacement  time.)  It  may prove
  2469.               worthwhile to go back to the main menu and delete a huge disk
  2470.               from the database before reindexing it.
  2471.  
  2472.           D - Add Dummy entries
  2473.               This option is similar to the "I" option, but does not make a
  2474.               complete database  entry.   Instead, the database  entry will
  2475.               show that there is only the dummy zero-length file named .ID.
  2476.               (The  volume name, free space and total disk space will match
  2477.               the  actual disk directory.)   This allows you  to record the
  2478.               existence of a disk when you  don't want to include the  file
  2479.               names, say for  a program master  disk which contains  driver
  2480.               files for many different printers, graphics cards, etc.   The
  2481.               .ID file is a place to hang a descriptive comment and catego-
  2482.               ry.  Older  versions of WSSINDEX used DUMMY_EN.TRY instead of
  2483.               .ID; the auxiliary routine IDADD will translate such entries.
  2484.               The  Make .ID entries option must be  set to YES before dummy
  2485.               entries can be made.
  2486.  
  2487.           X - IndeX ignoring labels
  2488.               This option allows indexing of disks  with manual override of
  2489.               the volume name.  The volume  name is displayed, and you  can
  2490.               either accept it or type in  an alternate (so the label isn't
  2491.               really ignored).  The label on the disk is not  altered.  The
  2492.               mode of operation is suggested for things like write-protect-
  2493.               ed master disks which  might all have  the same label (or  no
  2494.               label at all).
  2495.  
  2496.           ^D -List directory (control-d)
  2497.               This  option performs the  same way on  this menu  as it does
  2498.               from the main menu (page 16).
  2499.  
  2500.  
  2501.  
  2502.           Wssindex 5.22                   32                  Indexing Menu
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.           L - Label a disk on the labeling drive
  2516.               A volume label is an optional entry in a disk directory which
  2517.               looks much like a  file name, but is given  special treatment
  2518.               by DOS.   If present, it can  be displayed by the  DOS DIR or
  2519.               VOL commands.  Labels are usually written when a disk is for-
  2520.               matted,  but  can  be   added  later  by  various  utilities.
  2521.               WSSINDEX uses the volume name to distinguish different disks.
  2522.  
  2523.               This  option displays the  current volume label,  if any, and
  2524.               prompts you for a  new label.  A carriage return  aborts back
  2525.               to  the menu without changing anything.  The labeling is done
  2526.               by  a DOS call, so DOS restrictions on allowed characters ap-
  2527.               ply (in particular, your  input will be forced to  upper case
  2528.               because lower  case letters are  not allowed, but  blanks are
  2529.               ok).  If in doubt, try the label you  want to use; an illegal
  2530.               name  will be rejected with no harmful consequences.  I would
  2531.               suggest  that you not trust  a copy protected  master disk to
  2532.               any  disk labeling program; who knows what sort of games they
  2533.               might  have  played with  the  directory.   I  also recommend
  2534.               against writing on  a 360K disk in a 1.2  MB drive since this
  2535.               could make it unreadable on some 360K drives.
  2536.  
  2537.               Note: if you  have a disk with a mixed  case label (which you
  2538.               can easily  create with  the Norton Utilities  or some  other
  2539.               programs), WSSINDEX will not be able to change the label (DOS
  2540.               rename call fails).  If you need to change such a label while
  2541.               Wssindex  is running, you can  use the DOS  Shell option from
  2542.               the main  menu to run a labeling  utility.  Disks with labels
  2543.               differing only  in case are  considered to be  different when
  2544.               adding  disks to  the database,  but cannot  be distinguished
  2545.               when selecting by volume name.   If you use really weird vol-
  2546.               ume  labels, such  as ANSI  cursor positioning  commands, you
  2547.               probably deserve whatever happens to you.
  2548.  
  2549.           O - COnfiguration menu
  2550.               This  option takes  you  to the  primary configuration  menu.
  2551.               From there, you can make changes or save a configuration file
  2552.               including the control settings from the indexing menu.
  2553.  
  2554.           R - Return to main menu
  2555.               This option returns you to the main menu.
  2556.            
  2557.           F - First indexing drive
  2558.           S - Second indexing drive
  2559.           B - LaBeling drive
  2560.               These three options select the drive letters used for  index-
  2561.               ing or labeling disks.   If you only  have one floppy  drive,
  2562.               the three drive  letters will usually be  identical, but they
  2563.               can be changed to index or label hard disk partitions.
  2564.  
  2565.  
  2566.  
  2567.  
  2568.           Wssindex 5.22                   33                  Indexing Menu
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.           T - Indexing sTarts from
  2582.               This option allows for  partial indexing of a disk.   Instead
  2583.               of starting from the root  directory and including all files,
  2584.               only files in or  below the specified directory  are indexed.
  2585.               (The disk volume  label is  read from the  root directory  as
  2586.               usual.)  The format of the subdirectory specification will be
  2587.               adjusted  to canonical form so  you need not  worry about de-
  2588.               tails like whether a leading or trailing backslash is needed.
  2589.               Making a partial  index might be useful as the  first step in
  2590.               checking a  critical subdirectory for backups, or  as a means
  2591.               of indexing  a CD ROM  or very large disk  which contains too
  2592.               many files to fit in a single database.
  2593.  
  2594.           G - Auto-category strinG
  2595.               This is the string which is  used for the category if config-
  2596.               ured to add categories automatically.
  2597.  
  2598.           A - Ask before replacing
  2599.               This  flag controls the action  taken when a  volume label is
  2600.               found which matches one already in the database.  If YES, you
  2601.               are asked whether to replace  the existing database entry; if
  2602.               NO,  the entry  is replaced  automatically.   Generally, this
  2603.               flag  should be YES when  indexing a collection  of disks for
  2604.               the  first time  since  duplicate volume  names on  different
  2605.               disks  are easy to generate.  On  the other hand, if you have
  2606.               not kept track of which disks have been changed without being
  2607.               re-indexed and are re-indexing disks you know  are already in
  2608.               the database, you can set the flag to NO and  replace without
  2609.               verification.
  2610.  
  2611.           C - Auto-Comment
  2612.               If YES, you are transferred to the add-comments  screen after
  2613.               each disk is indexed.  All files on the disk just entered are
  2614.               selected for commenting.
  2615.  
  2616.           U - AUto-category
  2617.               If  YES, all files on disks indexed are assigned the category
  2618.               shown in  the auto-category string.   Assigning categories to
  2619.               everything uses  up database  storage space, so  don't enable
  2620.               this option unless you need it.
  2621.  
  2622.           M - Make .ID entries
  2623.               In  order to record the subdirectory structure of a disk, and
  2624.               to allow comments to be assigned to disks and subdirectories,
  2625.               it is necessary to make special database entries for the vol-
  2626.               ume  label and  each subdirectory.   These entries  look like
  2627.               files with the (illegal)  name .ID.  These entries  count to-
  2628.               wards the limits on the number of files, so if you don't want
  2629.               to assign comments  to disks or  subdirectories, you can  set
  2630.               this option to NO and decrease the database size slightly.
  2631.  
  2632.  
  2633.  
  2634.           Wssindex 5.22                   34                  Indexing Menu
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.           Y - DummY entries include subdirectory tree
  2648.               If this option is set  to YES, dummy entry indexing  will in-
  2649.               clude  the entire subdirectory tree;  if set to  NO, only one
  2650.               entry will be made for the volume id.
  2651.  
  2652.           Q - Query archive extraction
  2653.               You  may want to extract  file information only from selected
  2654.               archive and graphics files.  If  this option is YES, you  are
  2655.               asked before file information is extracted from any file with
  2656.               an extension in one of the extraction lists.
  2657.  
  2658.           H - Index Hidden files
  2659.               Bootable disks have two  hidden files which are not  shown by
  2660.               the DOS  DIR command.   If this option  is set to  YES, these
  2661.               files are included when a disk is indexed, otherwise they are
  2662.               ignored.   (Indexing of any  other hidden files  is also con-
  2663.               trolled by this flag.)
  2664.  
  2665.           K - Ignore bacKed up files
  2666.               One version of Wssindex had a  bug which caused it to not see
  2667.               files which had the  archive bit clear when indexing  a disk.
  2668.               (The archive bit is a flag in the directory entry  for a file
  2669.               which is set  when a file is created  or modified and cleared
  2670.               by some backup programs.)  One user felt that this was a fea-
  2671.               ture and asked that it be made a program option.   Most users
  2672.               will want to set this option to NO, but a YES setting  can be
  2673.               used  in conjunction with  the DOS ATTRIB  command to control
  2674.               which files are indexed.
  2675.  
  2676.           E - Extract archive comments
  2677.               Some of the archive formats allow comments for the archive or
  2678.               members.  If this  option is YES, and extraction  of informa-
  2679.               tion  from the appropriate archive file type is enabled, such
  2680.               comments are  extracted, filtered to remove unprintable char-
  2681.               acters, and assigned to database files.  On the indexing con-
  2682.               figuration menu, you can elect to extract comments describing
  2683.               the archive files without  extracting file information.  This
  2684.               flag does not control whether image size and number of colors
  2685.               are extracted from graphics files.
  2686.  
  2687.                               Primary Configuration Menu
  2688.  
  2689.           Most of  the items in this  menu lead to sub-menus  which are de-
  2690.           scribed in detail below.  The exceptions are the  options to load
  2691.           or save a  configuration file, and, of course,  the option to re-
  2692.           turn to the previous menu.   When loading or saving  a configura-
  2693.           tion file, the  prompt shows the file name which  will be used by
  2694.           default.  You  can accept this default by hitting  return, or you
  2695.           can edit the file name using cursor keys, insert/delete, etc.
  2696.  
  2697.  
  2698.  
  2699.  
  2700.           Wssindex 5.22                   35                  Indexing Menu
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.                         +------------------------------------+
  2714.                         |    Primary Configuration Menu      |
  2715.                         |                                    |
  2716.                         | Printer configuration              |
  2717.                         | SiZe limits                        |
  2718.                         | Indexing options                   |
  2719.                         | Screen, keyboard and Miscellaneous |
  2720.                         | Default sorting/selection options  |
  2721.                         | Keyboard macros                    |
  2722.                         | Configured Exception list          |
  2723.                         | Which fields to print              |
  2724.                         | Output Format                      |
  2725.                         |                                    |
  2726.                         | Load configuration file            |
  2727.                         | Save configuration file            |
  2728.                         |                                    |
  2729.                         | Return to previous menu            |
  2730.                         +------------------------------------+
  2731.                     Figure 5. Wssindex Primary Configuration Menu
  2732.  
  2733.  
  2734.           P - Printer configuration
  2735.               Leads to a menu describing printer characteristics.
  2736.  
  2737.           Z - SiZe limits
  2738.               Leads to a menu to set database size limits.
  2739.  
  2740.           I - Indexing options
  2741.               Leads to a menu of options controlling behavior when indexing
  2742.               disks.
  2743.  
  2744.           M - Screen, keyboard and Miscellaneous
  2745.               Leads to a menu of miscellaneous items.
  2746.  
  2747.           D - Default sorting/selection options
  2748.               Leads  to a menu  for entering default  sorting and selection
  2749.               options.
  2750.  
  2751.           K - Keyboard macros
  2752.               This option displays the 26 keyboard macros available by hit-
  2753.               ting Alt-letter in the add-comments section (or anywhere else
  2754.               that multi-character text input is allowed) and allows you to
  2755.               change them.   These macros are  stored in the  configuration
  2756.               file,  not the database file.   If you make any changes here,
  2757.               you  will be given the  option to save  a configuration file.
  2758.               (In  earlier releases, keyboard macros were called predefined
  2759.               categories  and  could  only  be  used  in  the  add-comments
  2760.               screen.)
  2761.  
  2762.           E - Configured Exception list
  2763.               The  exception list is list  of up to  100 special case names
  2764.               which can be excluded  from printing.  By default,  this list
  2765.  
  2766.           Wssindex 5.22                   36     Primary Configuration Menu
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.               consists  of only COMMAND.COM, but you might also want to add
  2780.               *.BAK, AUTOEXEC.BAT or anything else you have many copies of.
  2781.               Wild card names are  allowed.  List entries are made in full-
  2782.               screen mode (the same as is optionally used for entering file
  2783.               specifications when selecting files).  This list is only used
  2784.               if you  ask for it  as one  of the selection  options.   This
  2785.               semi-permanent list  serves the same purpose  as the one-shot
  2786.               rejection list which you can enter whenever selecting files.
  2787.  
  2788.           W - Which fields to print
  2789.               Leads to a menu for selecting what information to print.
  2790.  
  2791.           F - Output Format
  2792.               Leads to a menu for controlling output format.
  2793.  
  2794.           L - Load configuration file
  2795.           S - Save configuration file
  2796.               Configuration files  hold the option settings  entered in the
  2797.               various menus,  including the keyboard macros.   You can save
  2798.               or load a configuration file at  any time, but a newly loaded
  2799.               configuration file cannot change  the database size limits if
  2800.               a database  is currently in  memory.   If you  attempt to  do
  2801.               this, you will be given the option to clear the loaded  data-
  2802.               base.  If  you decline, all configuration options  except the
  2803.               changed size limits will take effect.
  2804.  
  2805.               If  you read or save  a configuration file,  the default file
  2806.               name is the first of
  2807.  
  2808.               1.  The last configuration file saved or read
  2809.               2.  The first command line argument
  2810.               3.  The DOS  environment variable  WSSICNF  (DOS command  set
  2811.                   WSSICNF=filespec)
  2812.               4.  WSSINDEX.CNF (with  drive and  path whatever was  current
  2813.                   when the program was loaded)
  2814.  
  2815.               which is defined.  The default name can be edited in the usu-
  2816.               al  manner, and TAB brings up a full-screen selection of con-
  2817.               figuration  files.  If an error is encountered when reading a
  2818.               configuration file, WSSINDEX will assume the worst and revert
  2819.               to  using the  screen  output method  set by  the environment
  2820.               variable  WSSDISP, or determined  automatically if WSSDISP is
  2821.               not defined.
  2822.  
  2823.               The format of the configuration file often  changes from ver-
  2824.               sion to version; compatibility is not guaranteed.  Usually  I
  2825.               try to arrange  things so  that most information  can be  ex-
  2826.               tracted from an older configuration  file before a read error
  2827.               occurs, but major program upgrades always  seem to require so
  2828.               many new  configuration items that  maintaining compatibility
  2829.               with  older configuration files is not always possible.  Gen-
  2830.               erally, Wssindex will  realize that it is reading an obsolete
  2831.  
  2832.           Wssindex 5.22                   37     Primary Configuration Menu
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.               format before very many  garbage values have been read.   One
  2846.               of the  first things you should  do with a new  version is to
  2847.               review your configurations settings.
  2848.  
  2849.           R - Return to previous menu
  2850.               Returns to higher level menu.
  2851.  
  2852.  
  2853.                               Printer Configuration Menu
  2854.  
  2855.           Items in this menu  define the characteristics of your  printer. 
  2856.           They are  also used for disk output, but have no effect on screen
  2857.           output.   Distances on a printed page are expressed in characters
  2858.           and  lines.  Proportionally spaced fonts  are not supported; they
  2859.           will cause misaligned columns.
  2860.  
  2861.                       +---------------------------------------+
  2862.                       |      Printer configuration menu       |
  2863.                       |                                       |
  2864.                       | Paper Width to right margin        80 |
  2865.                       | Paper Length                       66 |
  2866.                       | Left Margin                         0 |
  2867.                       | Top margin                          3 |
  2868.                       | Bottom margin                       8 |
  2869.                       | Use Form feeds                    YES |
  2870.                       | Pause at page breaks               NO |
  2871.                       | Printer port Name                LPT1 |
  2872.                       |                                       |
  2873.                       | POstscript printer setup              |
  2874.                       |                                       |
  2875.                       | Return to primary configuration menu  |
  2876.                       +---------------------------------------+
  2877.           Figure 6. Wssindex Printer Configuration Menu.  Some commands use
  2878.           additional printer controls from the printer definition file.
  2879.  
  2880.  
  2881.           W - Paper Width to right margin
  2882.               This  is the width of  the paper, less  any desired allowance
  2883.               for a right margin.  (The number entered here does not depend
  2884.               on the left margin  setting.)  If your printer  does an auto-
  2885.               matic carriage return and linefeed when a character is print-
  2886.               ed in the rightmost column, you  should set the width to pre-
  2887.               vent  using this column.  Page numbers are right justified to
  2888.               the page width setting.
  2889.  
  2890.           L - Paper Length
  2891.               This is the length  of the paper, typically  66 lines for  11
  2892.               inch paper at  6 lines per inch, but slightly  smaller (60 or
  2893.               62) for laser printers which can't print on the first or last
  2894.               few lines of a page, or larger for A4 size paper.
  2895.  
  2896.  
  2897.  
  2898.           Wssindex 5.22                   38     Primary Configuration Menu
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.           M - Left Margin
  2912.           T - Top margin
  2913.           B - Bottom margin
  2914.               The number of spaces or lines  to leave blank in each margin.
  2915.               Note that a right margin allowance is made by using a smaller
  2916.               paper width specification.
  2917.  
  2918.           F - Use Form feeds
  2919.               Most, but not all, printers respond to a form feed command to
  2920.               eject  the current page.  For printers which do not recognize
  2921.               form feeds,  set this option  to NO and page  advance will be
  2922.               done by inserting blank lines.  The disadvantage of disabling
  2923.               this option  is that if some glitch messes up the line count-
  2924.               ing, the  error will   propagate to following  pages, whereas
  2925.               doing a line feed resynchronizes the program and printer line
  2926.               counting.   Depending on  your printer,  if you are  printing
  2927.               with zero bottom margin, it may be necessary to set  this op-
  2928.               tion to NO to prevent printing every other page blank.
  2929.  
  2930.           P - Pause at page breaks
  2931.               If  a manual-feed sheet printer  is used, set  this option to
  2932.               YES so that output will pause for paper change.
  2933.  
  2934.           N - Printer port Name
  2935.               The  default printer port is device PRN, which is usually the
  2936.               same as LPT1.   You may select PRN, LPT1,  LPT2, LPT3 or EPT.
  2937.               If you have a serial printer, and port  PRN doesn't work, use
  2938.               the  DOS mode command to redirect LPT1 to the appropriate COM
  2939.               port.
  2940.  
  2941.           O - POstscript printer setup
  2942.               Leads to menu for selecting postscript options.
  2943.  
  2944.                             Postscript Printer Setup Menu
  2945.  
  2946.                       +---------------------------------------+
  2947.                       |       Postscript Printer Setup        |
  2948.                       |                                       |
  2949.                       | Use Postscript printer            YES |
  2950.                       | Disk output also postscript        NO |
  2951.                       | Landscape output                   NO |
  2952.                       | Font Size (points)                 10 |
  2953.                       | Extra line spacing (points)         2 |
  2954.                       |                                       |
  2955.                       | Return to previous menu               |
  2956.                       +---------------------------------------+
  2957.           Figure 7. Wssindex Postscript Printer  Setup Menu.  Some commands
  2958.           use additional printer controls from the printer definition file.
  2959.  
  2960.           P - Use Postscript printer
  2961.               Select YES  if you want  to use a  postscript printer.   Note
  2962.               that  Wssindex does  not take  full advantage  of power  of a
  2963.  
  2964.           Wssindex 5.22                   39     Printer Configuration Menu
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.               postscript printer.   In  particular, only Courier  fonts are
  2978.               supported because that's the only non-proportional font which
  2979.               all postscript printers contain.
  2980.  
  2981.           D - Disk output also postscript
  2982.               Select  YES if output directed  to disk should  also be post-
  2983.               script format.
  2984.  
  2985.           L - Landscape output
  2986.               Select YES for  landscape (90 degree  rotated) output.   Note
  2987.               that for non-postscript  printers, landscape output  can only
  2988.               be selected by commands in a printer definition file.
  2989.  
  2990.           S - Font Size (points)
  2991.           E - Extra line spacing (points)
  2992.               Print size  and inter-line  spacing are specified  in points;
  2993.               there  are approximately 72 points in one inch.  Typical font
  2994.               sizes would  be  10-12 points  for ordinary  text, perhaps  7
  2995.               points  or smaller for disk  covers or labels.   Wssindex ex-
  2996.               pects  integral point  sizes.   Spacing between lines  is the
  2997.               font size plus  the extra spacing.   Word processing programs
  2998.               often default to 2 points more for spacing than  for the font
  2999.               size, but you may find that 1 or even 0 points looks better.
  3000.  
  3001.                                  Database Size Limits
  3002.  
  3003.           The entire Wssindex database is kept in memory.   Thus, the maxi-
  3004.           mum database  size depends on available memory,  and under MS/PC-
  3005.           DOS, that usually means less than 640K.  (However, if your system
  3006.           provides  more  conventional  memory,  Wssindex  will  use   it.)
  3007.           Wssindex/Extended also  keeps the entire database  in memory, but
  3008.           it can use  up to 16  MB of  extended memory.   The overhead  for
  3009.           memory management is  greatly reduced if space for  certain fixed
  3010.           sized  items is allocated  in a few  large chunks rather  than in
  3011.           small  pieces as  a database grows.   Also, the  DOS Shell option
  3012.           requires  some memory which could otherwise be used for the data-
  3013.           base.  These considerations  mean that the program must  know the
  3014.           maximum database  size before the  database is loaded.   However,
  3015.           these limits can be  changed before a database loaded  from disk,
  3016.           so numbers entered here do not restrict future database growth.
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.           Wssindex 5.22                   40     Printer Configuration Menu
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.                     +-------------------------------------------+
  3044.                     |           Database size limits            |
  3045.                     |                                           |
  3046.                     | Maximum number of Files              3000 |
  3047.                     | Maximum number of Subdirectories      600 |
  3048.                     | Maximum number of Disks               300 |
  3049.                     |                                           |
  3050.                     | Allocate Memory and display status        |
  3051.                     |                                           |
  3052.                     | Longest allowed Comment                64 |
  3053.                     | Longest allowed category               64 |
  3054.                     |                                           |
  3055.                     | Return to primary configuration menu      |
  3056.                     +-------------------------------------------+
  3057.                  Figure 8. Wssindex Database Size Configuration Menu
  3058.  
  3059.  
  3060.           F - Maximum number of Files
  3061.           S - Maximum number of Subdirectories
  3062.           D - Maximum number of Disks
  3063.               These  options set the limits on the numbers of files, subdi-
  3064.               rectories and  disks in a  database.  In  the DOS  version of
  3065.               Wssindex, each must be less than 16,384, regardless of avail-
  3066.               able memory.  In  practice, it's usually the number  of files
  3067.               which  is most constricting.   10-12,000 files can usually be
  3068.               accommodated in  640K, provided that a  significant amount of
  3069.               memory  is not also  being used for  comments and categories.
  3070.               With Wssindex/Extended  and 16 MB of RAM,  you could probably
  3071.               handle 300,000 files.   The number of bytes used  is given in
  3072.               the table below.   In addition, each  subdirectory name takes
  3073.               some space.
  3074.  
  3075.                     Bytes per           DOS       Extended
  3076.                                       version     version
  3077.                     File                36           42
  3078.                     Subdirectory         6            8
  3079.                     Disk                27           29
  3080.  
  3081.               A maximum length  comment or category takes  up more database
  3082.               memory  than 3 file  entries, so a heavily commented database
  3083.               could run into memory space problems even at 3000 files.
  3084.  
  3085.           M - Allocate Memory
  3086.               Memory is not allocated  until you either leave this  menu or
  3087.               select  this item.   When you select  this item, you  get the
  3088.               same  summary of size limits and available memory as is given
  3089.               by the display statistics option from the main menu.  So, you
  3090.               can make repeated adjustments  and check status without leav-
  3091.               ing this menu.   If there  is not enough  memory for the  re-
  3092.               quested  size limits, you will  get an error  message and the
  3093.               option  to give up and  return to DOS;  the default answer is
  3094.               no.  The size limits revert to the last successfully allocat-
  3095.  
  3096.           Wssindex 5.22                   41           Database Size Limits
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.               ed values, but the display will still show the last requested
  3110.               values.  Insufficient memory  for variable length items (sub-
  3111.               directory names, comments and categories) will be detected as
  3112.               a database is read or expanded.
  3113.  
  3114.           C - Longest allowed Comment
  3115.           L - Longest allowed category
  3116.               Comments and  categories extracted from archive  files or en-
  3117.               tered on the add-comments screen can only be as long as spec-
  3118.               ified here.  The longest comment allowed is 1023  characters;
  3119.               the longest category 64.   (Prior to version 5.2,  both maxi-
  3120.               mums were fixed at 64.  Comments longer than this will make a
  3121.               database unreadable by  older versions  of Wssindex.)   If  a
  3122.               comment  or category  longer than  the configured  maximum is
  3123.               found when a database is loaded, it will be truncated to this
  3124.               maximum  and a warning issued.   Setting the  maximum to zero
  3125.               forces removal of  the comment or category  when the database
  3126.               is read.  Setting the  maximum has no effect on a  comment or
  3127.               category already in memory.
  3128.  
  3129.           R - Return to primary configuration menu
  3130.               Returns to the previous menu.
  3131.  
  3132.                              Indexing Configuration Menu
  3133.  
  3134.           Items in this menu control program behavior during disk indexing.
  3135.           Many of these items are duplicated on the indexing sub-menu.
  3136.  
  3137.               +-------------------------------------------------------+
  3138.               |             Indexing configuration menu               |
  3139.               |                                                       |
  3140.               | Indexing drive number 1                             A |
  3141.               | Indexing drive number 2                             B |
  3142.               | Make .ID entries (allows disk/subdir comments)    YES |
  3143.               | Ask Before replacing                               NO |
  3144.               | Auto coMment after disk indexed                    NO |
  3145.               | Auto caTegory for all files                        NO |
  3146.               | Ask before eXtracting archive info                 NO |
  3147.               | Extract comments from archive files               YES |
  3148.               | Auto cateGory string        (none)                    |
  3149.               |                                                       |
  3150.               | File extensions for Archive information extraction    |
  3151.               | File extensions for graPhics information extraction   |
  3152.               |                                                       |
  3153.               | Return to primary configuration menu                  |
  3154.               +-------------------------------------------------------+
  3155.                 Figure 9. Wssindex Indexing Options Configuration Menu
  3156.  
  3157.  
  3158.           1,2 - Indexing drive number
  3159.               If you have two  drives, Wssindex will read from  them alter-
  3160.               nately when indexing so that you can be swapping disks in one
  3161.  
  3162.           Wssindex 5.22                   42           Database Size Limits
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.               drive while  the other is being  used.  If you  have only one
  3176.               drive (or if you only want  to use one drive), just enter the
  3177.               same letter for both drives.
  3178.  
  3179.           I - Make .ID entries
  3180.               In  order to record the subdirectory structure of a disk, and
  3181.               to allow comments to be assigned to disks and subdirectories,
  3182.               it is necessary to make special database entries for the vol-
  3183.               ume  label and each  subdirectory.   These entries  look like
  3184.               files with the (illegal)  name .ID.  These entries  count to-
  3185.               wards the limits on the number of files, so if you don't want
  3186.               to assign  comments to disks  or subdirectories, you  can set
  3187.               this option to NO and decrease the database size slightly.
  3188.  
  3189.           B - Ask Before replacing
  3190.               If  a disk is encountered  while indexing which  has the same
  3191.               volume label as one already in the database, it could  be ei-
  3192.               ther  a different disk with a duplicate name or the same disk
  3193.               being re-indexed.   This option controls  whether any warning
  3194.               is given before a duplicate disk is replaced.
  3195.  
  3196.           M - Auto coMment
  3197.               If  YES, automatically  go to  the add-comments  screen after
  3198.               each disk is indexed, with all files from the disk selected.
  3199.  
  3200.           T - Auto caTegory
  3201.               If YES, assign the auto-category string to all files as disks
  3202.               are indexed.
  3203.  
  3204.           X - Ask before eXtracting archive info
  3205.               You may want to  extract file information only  from selected
  3206.               archive and graphics files.   If this option is YES,  you are
  3207.               asked before file information is extracted from any file with
  3208.               an extension in one of the extraction lists.
  3209.  
  3210.           E - Extract comments from archive files
  3211.               Some of the archive formats allow comments for the archive or
  3212.               members.  If this option is YES, such comments are extracted,
  3213.               filtered  to remove unprintable characters and excess blanks,
  3214.               and assigned to database files.
  3215.  
  3216.           G - Auto cateGory string
  3217.               This string is  used for  the category if  configured to  add
  3218.               categories automatically.
  3219.  
  3220.           A - File extensions for Archive information extraction
  3221.           P - File extensions for graPhics information extraction
  3222.               These two options  lead to menus to select what  types of ar-
  3223.               chive and graphics files  should be processed to  extract di-
  3224.               rectory, comment or image size information.
  3225.  
  3226.  
  3227.  
  3228.           Wssindex 5.22                   43    Indexing Configuration Menu
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.                       Archive file extraction configuration menu
  3242.                   +------------------------------------------------+
  3243.                   |   Archive file extraction configuration menu   |
  3244.                   |                                                |
  3245.                   |     ARC     YES            LZS    YES          |
  3246.                   |     ARJ     YES            PAK    YES          |
  3247.                   |     ARK     YES            PKA    YES          |
  3248.                   |     HYP     YES            SDN    YES          |
  3249.                   |     LBR     YES            ZIP    YES          |
  3250.                   |     LZH     YES            ZOO    YES          |
  3251.                   |                                                |
  3252.                   |   Return to indexing configuration menu        |
  3253.                   +------------------------------------------------+
  3254.             Figure 10. Archive file types from which information can be ex-
  3255.           tracted.
  3256.  
  3257.  
  3258.                      Graphics file extraction configuration menu
  3259.  
  3260.                  +-------------------------------------------------+
  3261.                  |   Graphics file extraction configuration menu   |
  3262.                  |                                                 |
  3263.                  |       BMP                               YES     |
  3264.                  |       GIF                               YES     |
  3265.                  |       PCX                               YES     |
  3266.                  |       TIF                               YES     |
  3267.                  |                                                 |
  3268.                  |   Return to indexing configuration menu         |
  3269.                  +-------------------------------------------------+
  3270.            Figure 11. Graphics file types from which image size information
  3271.           can be extracted.
  3272.  
  3273.           Extension for extraction
  3274.               Files with extensions marked  YES on these two menus  will be
  3275.               processed as  archive or  graphics files  when disks  are in-
  3276.               dexed.   Archive types  which allow  archive comments  can be
  3277.               marked "Only comments", meaning  that file information is not
  3278.               extracted, but  an archive comment  will be extracted  if Ex-
  3279.               tract comments is YES.
  3280.  
  3281.                            Miscellaneous Configuration Menu
  3282.  
  3283.           This menu  includes a  variety of miscellaneous  items, including
  3284.           the paths  to the color  selection and video  board configuration
  3285.           menus.
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.           Wssindex 5.22                   44     Archive and Graphics files
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.               +-------------------------------------------------------+
  3308.               |   Screen, keyboard and miscellaneous configuration    |
  3309.               |                                                       |
  3310.               | Perform automatic inteGrity check                  NO |
  3311.               | MaNual cursor motion in menus                      NO |
  3312.               | Function key layout matching IBM                  YES |
  3313.               | Use BIOS to read Keyboard                          NO |
  3314.               | Inverted meaning for PgUp/PgDn                     NO |
  3315.               | Create .BAK files                                 YES |
  3316.               | Enable Alarm sound                                YES |
  3317.               | Change Prompt in DOS shell                        YES |
  3318.               | Strip High-bit when viewing files                 YES |
  3319.               | Use color                                         YES |
  3320.               | Use Mouse                                          NO |
  3321.               | Mouse Sensitivity                                  50 |
  3322.               |                                                       |
  3323.               | Set Colors                                            |
  3324.               | Video board configuration                             |
  3325.               |                                                       |
  3326.               | Return to primary configuration menu                  |
  3327.               +-------------------------------------------------------+
  3328.               Figure 12. Wssindex  Screen,  Keyboard and  Miscellaneous
  3329.               Options Configuration Menu
  3330.  
  3331.  
  3332.           G - Perform automatic inteGrity check
  3333.               A  disk indexing program  infected by a  computer virus could
  3334.               spread the infection to every write-enabled disk indexed.  To
  3335.               provide partial protection, Wssindex will read its executable
  3336.               file from disk  and perform a checksum test.  If the expected
  3337.               checksum  is not found, a warning will be displayed the first
  3338.               time you enter the main menu.  Since this test requires read-
  3339.               ing  the program from disk, it requires about the same amount
  3340.               of time as loading the program.  With a fast  hard disk, this
  3341.               time  is negligible, but on  a floppy it  could be annoyingly
  3342.               long, hence the option of disabling the test.
  3343.  
  3344.               This type of integrity test is far from foolproof.  First, it
  3345.               only tests whether the program itself is infected, not wheth-
  3346.               er  a virus from a previously run program is active.  Second,
  3347.               viruses exist which detect that a program is reading its disk
  3348.               image and feed back  the uninfected image.  Finally,  a virus
  3349.               targeted  against   a  specific  program  could   remove  the
  3350.               checksumming code entirely.   I intend to  change the details
  3351.               of  the integrity check from  release to release  in order to
  3352.               make  this last attack more difficult.  There are now several
  3353.               programs available  which attempt  to check for  virus infec-
  3354.               tions  by known  viruses,  or to  block destructive  actions.
  3355.               Since I have  never actually  encountered a  virus, I  cannot
  3356.               comment on  how effective such programs might  be.  I do know
  3357.               that  computer scientists  have  demonstrated that  writing a
  3358.               "universal virus detector" is not possible.
  3359.  
  3360.           Wssindex 5.22                   45    Miscellaneous Configuration
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.               In  order to perform the checksum test, the program must know
  3374.               its name  and where  it was  loaded from.   Under DOS  3.0 or
  3375.               higher, this is  trivial, and under previous  DOS versions it
  3376.               is  impossible.  When running under DOS 2.x, the program name
  3377.               is assumed to be WSSINDEX.EXE, and the current  directory and
  3378.               the PATH  are searched for this  name.  Thus, if  you wish to
  3379.               use  the integrity check under  DOS 2.x, you  must change the
  3380.               program  name from  the distributed  name which  includes the
  3381.               version number.
  3382.  
  3383.               There are various utilities  available which compress an exe-
  3384.               cutable file  on disk  and automatically decompress  when the
  3385.               program  is loaded.  If such a  utility is used, the disk im-
  3386.               age, and  hence the checksum,  is changed,  so the  integrity
  3387.               check will  fail.   However, such a  compression utility  may
  3388.               provide an equivalent checksum test.  Except for this consid-
  3389.               eration,  the DOS  version of  WSSINDEX has  been tested  and
  3390.               found  to be compatible  with the program  LZEXE version 0.91
  3391.               (Fabrice Bellard, 451 chemin du mas de Matour, 34790 Grabels,
  3392.               France) and  the LZESHELL program (Pete  Petrakis, 1236 River
  3393.               Bay Road, Annapolis, Maryland 21401) which translates LZEXE's
  3394.               messages  into  English.     LZEXE  compresses  the  unpacked
  3395.               WSSI522.EXE by  about 50% and  the reduced  disk access  time
  3396.               more than compensates for the decompression overhead.  PKLite
  3397.               (PKWare)   and  DIET  (Teddy  Matsumoto)  perform  similarly.
  3398.               Wssindex/Extended cannot  be compressed by any  of these pro-
  3399.               grams.
  3400.  
  3401.           N - MaNual cursor motion in menus
  3402.               When you select  menu items, Wssindex tries  to guess whether
  3403.               you  will want to keep the cursor  on that item or advance to
  3404.               the next item.   Set this option to YES  to disable this fea-
  3405.               ture.
  3406.  
  3407.           F - Function key layout matching IBM
  3408.               The function key help in the add-comments  screen is arranged
  3409.               in  two columns, just as the function keys on many keyboards.
  3410.               If you have an unusual keyboard which has  F2 below F1 rather
  3411.               than beside  it, such as is found  on your author's old Sanyo
  3412.               555,  set this option to  NO and the  help screen arrangement
  3413.               will  match the key arrangement.   If your  function keys run
  3414.               across the  top of  the keyboard, pick  whichever arrangement
  3415.               seems best.
  3416.  
  3417.           K - Use BIOS to read Keyboard
  3418.               If YES, the keyboard is read using a BIOS call  rather than a
  3419.               DOS call.  Select YES here if you have used ANSI.SYS to rede-
  3420.               fine keys and  do not  want Wssindex to  use these  redefini-
  3421.               tions.  Select NO if your machine is not IBM  compatible.  If
  3422.               neither of  these applies, the  setting of this  flag doesn't
  3423.               really matter.
  3424.  
  3425.  
  3426.           Wssindex 5.22                   46    Miscellaneous Configuration
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.           I - Inverted meaning for PgUp/PgDn
  3440.               Your author became accustomed  to an hp terminal long  before
  3441.               he ever saw a PC  keyboard.  The hp keyboard had  NEXT SCREEN
  3442.               and  PREVIOUS SCREEN keys in  the same positions  as PgUp and
  3443.               PgDn, but the positions were interchanged relative to meaning
  3444.               most  programs assign to the  PC keyboard keys.   Your author
  3445.               sets this option to  YES and goes through contortions  to get
  3446.               other  programs to  do the  equivalent translation;  probably
  3447.               everyone else will set it to NO.
  3448.  
  3449.           B - Create .BAK files
  3450.               When a database is  saved, and an  existing file of the  same
  3451.               name is  found, the old file can be either overwritten or re-
  3452.               named  with a .BAK extension.  The latter option is obviously
  3453.               safer since the  old file remains if the save  fails, but the
  3454.               output disk might not have enough room for two databases.  If
  3455.               you elect  not to create .BAK files,  you will be warned that
  3456.               an old file of the same name exists and must confirm that you
  3457.               really want to overwrite it.   If creating .BAK files, a  two
  3458.               generation  old .BAK file will be erased so that the previous
  3459.               database file can be renamed.
  3460.  
  3461.           A - Enable Alarm sound
  3462.               Some error messages include  a beep.  This option  allows you
  3463.               do disable all such sounds.
  3464.  
  3465.           P - Change Prompt in DOS shell
  3466.               The prompt when shelled to DOS can be either changed to "EXIT
  3467.               to  return to Wssindex" followed by a newline and your origi-
  3468.               nal  prompt to remind  you that you  are in a  shell, or left
  3469.               unchanged.
  3470.  
  3471.           H - Strip High-bit when viewing files
  3472.               Files created by WordStar, and possibly other files, have the
  3473.               high-bit set  on some  characters.   When viewing  such files
  3474.               from the add-comments screen, it is desirable to turn off the
  3475.               high-bit to make the text readable.   On the other hand, lan-
  3476.               guages other  than English  use characters with  the high-bit
  3477.               set.  So, generally this option should be set to YES for Eng-
  3478.               lish language users and NO for other languages.
  3479.  
  3480.           U - Use color
  3481.               By default, the program  will run in monochrome.   (This does
  3482.               not refer to the type of  video board which is a separate se-
  3483.               lection.)   To get color, set this option to YES and also se-
  3484.               lect set Colors to get a color-selection menu.  Actually, the
  3485.               setting  of this control is only important if using DOS calls
  3486.               for screen output.   With  direct video writes,  you can  get
  3487.               colors even if this option is set to NO.
  3488.  
  3489.  
  3490.  
  3491.  
  3492.           Wssindex 5.22                   47    Miscellaneous Configuration
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.           M - Use Mouse
  3506.               Set this  option to YES to  enable the mouse.   There are two
  3507.               possible  reasons why you might  not want to  do this: first,
  3508.               the standard method  of testing  whether a  mouse is  present
  3509.               causes  some  non-compatible machines  to crash,  and second,
  3510.               when the  mouse is active, the program  sits in a loop alter-
  3511.               nately checking for  keyboard or mouse input rather than sim-
  3512.               ply asking DOS  to read the next keystroke.  In a multi-task-
  3513.               ing environment this wastes CPU cycles which could be used by
  3514.               tasks in other windows.  (Wssindex will  detect if it is run-
  3515.               ning under DESQview and will give up its time  slice if there
  3516.               is no keyboard or mouse input pending.)
  3517.  
  3518.           S - Mouse Sensitivity
  3519.               A smaller number here means less mouse motion is necessary to
  3520.               move the highlight bar.
  3521.  
  3522.           C - Set Colors
  3523.               This option leads to the color selection menu.
  3524.  
  3525.           V - Video board configuration
  3526.               This option leads to the video board selection menu.
  3527.  
  3528.           R - Return to primary configuration menu
  3529.               Returns to the previous menu.
  3530.  
  3531.  
  3532.                       Default Sorting and Selection Options Menu
  3533.  
  3534.                   +-------------------------------------------------+
  3535.                   |     Default Sorting and Selection Options       |
  3536.                   |                                                 |
  3537.                   | Selection list (none)                           |
  3538.                   | Sort Keys      (none)                           |
  3539.                   |                                                 |
  3540.                   | Return to main menu                             |
  3541.                   +-------------------------------------------------+
  3542.             Figure 13. Wssindex Default Sorting and Selection Options Menu
  3543.  
  3544.  
  3545.           S - Selection list
  3546.           K - Sort Keys
  3547.               When  listing files with the  Find or Print  options, you are
  3548.               prompted  for selection and sort options.  The two menu items
  3549.               here  allow you to specify the default selection and sort key
  3550.               lists.  If present, each will be a list of numbers, separated
  3551.               by commas.  These lists may be edited at the time of use, but
  3552.               such editing  does not change the  defaults.  If you  want to
  3553.               erase one of these lists, just delete the characters.  Do not
  3554.               type "none"  else you will  find that  the characters  "none"
  3555.               become the default, which isn't what you want.
  3556.  
  3557.  
  3558.           Wssindex 5.22                   48    Miscellaneous Configuration
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.           R - Return to previous menu
  3572.               Returns to the primary configuration menu.
  3573.  
  3574.  
  3575.                            Output Fields Configuration Menu
  3576.  
  3577.           This  menu is used to  select what information  is displayed when
  3578.           files are listed.   Note that displaying all items  requires con-
  3579.           siderably more than  80 characters.   The output  format menu  is
  3580.           used to control how long lines are handled.
  3581.  
  3582.  
  3583.               +-------------------------------------------------------+
  3584.               |           Output fields configuration menu            |
  3585.               |                                                       |
  3586.               | Print File name and extension plus                    |
  3587.               |                                                       |
  3588.               |      DuPlicate flag  NO    Volume            YES      |
  3589.               |      Size           YES    SuBdirectory      YES      |
  3590.               |      Date           YES    Archive file name YES      |
  3591.               |      Time           YES    Comment           YES      |
  3592.               |      SEconds        YES    CateGory          YES      |
  3593.               |                                                       |
  3594.               | Return to primary configuration menu                  |
  3595.               +-------------------------------------------------------+
  3596.                  Figure 14. Wssindex Output fields configuration menu
  3597.  
  3598.  
  3599.           P - DuPlicate flag
  3600.               An asterisk following the file name  if the name is the  same
  3601.               as the  previous file listed.   Note  that whether a  file is
  3602.               flagged depends on the sort order and selection options.
  3603.  
  3604.           S - Size
  3605.               File size in bytes.
  3606.  
  3607.           D - Date
  3608.               Date  of last  modification; date  format is selected  in the
  3609.               output format menu.
  3610.  
  3611.           T - Time
  3612.               Time  of last  modification; always  omitted  if date  is not
  3613.               printed.
  3614.  
  3615.           S - Seconds
  3616.               Seconds field of modification time; always omitted if time is
  3617.               not  printed.  Since MS-DOS only stores  the file time to the
  3618.               nearest two seconds, this will always be an even number.
  3619.  
  3620.           V - Volume
  3621.               Disk volume label.
  3622.  
  3623.  
  3624.           Wssindex 5.22                   49           Sort/select Defaults
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.           B - SuBdirectory
  3638.               Subdirectory name or "Root" for root directory.
  3639.  
  3640.           A - Archive file name
  3641.               The name of the containing archive file, if any.
  3642.  
  3643.           C - Comment
  3644.               File comment, if any.
  3645.  
  3646.           G - CateGory
  3647.               File category, if any.
  3648.  
  3649.                            Output Format Configuration Menu
  3650.  
  3651.             +------------------------------------------------------------+
  3652.             |             Output format configuration menu               |
  3653.             |                                                            |
  3654.             | Number of Blank lines between headers               0      |
  3655.             | Number of blank lines after Headers                 1      |
  3656.             |                                                            |
  3657.             | File name style                                   FN  EXT  |
  3658.             | Date style                                        mm/dd/yy |
  3659.             | Archive file delImiter                             [...]   |
  3660.             | DeliMiter around first of comment/category         (...)   |
  3661.             |                                                            |
  3662.             | Enter 0 width to use variable field size                   |
  3663.             |                                                            |
  3664.             |    Field width for Subdirectories                     0    |
  3665.             |    Field width for Archive name                       0    |
  3666.             |    Field width for Comment or category                0    |
  3667.             |                                                            |
  3668.             | Print comments bEfore categories                     NO    |
  3669.             | Always start New line for comment/category info      NO    |
  3670.             | MaX wrapped print lines per file                      2    |
  3671.             | Indentation for Wrapped lines                        10    |
  3672.             |                                                            |
  3673.             | Return to primary configuration menu                       |
  3674.             +------------------------------------------------------------+
  3675.                  Figure 15. Wssindex output format configuration menu
  3676.  
  3677.  
  3678.           B - Number of Blank lines between headers
  3679.           H - Number of blank lines after Headers
  3680.               File  and volume listings have  two header lines,  one with a
  3681.               title, the second with column headings.  These options select
  3682.               how many blank lines  to insert between header lines,  or be-
  3683.               tween  the header lines and the data lines.  These parameters
  3684.               are ignored for screen output.
  3685.  
  3686.           F - File name style
  3687.               Selecting  this option will  toggle the file  name format be-
  3688.               tween FN EXT and FN.EXT.
  3689.  
  3690.           Wssindex 5.22                   50    Output Fields Configuration
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.  
  3703.           D - Date style
  3704.               Selecting  this option  will cycle  through the  various date
  3705.               formats: mm/dd/yy, dd/mm/yy, yy/mm/dd or 01-Jan-80.  The day,
  3706.               month,  year order selected here  is used for  both input and
  3707.               output.   The date format  implied by the  COUNTRY= option in
  3708.               CONFIG.SYS is not used.
  3709.  
  3710.           I - Archive file delImiter
  3711.               The name of the  archive file containing the listed  file can
  3712.               be  printed surrounded by (),  <> or [];  selecting this item
  3713.               cycles through the possible delimiters.  One of these markers
  3714.               is recommend to distinguish the archive name from the follow-
  3715.               ing field if a fixed field width is not used.
  3716.  
  3717.           M - DeliMiter around first of comment/category
  3718.               The same sets of delimiters  can be used to mark comments  or
  3719.               categories  as are  used to mark  archive files.   It  is the
  3720.               field which is configured to print first  which is surrounded
  3721.               by this delimiter.
  3722.  
  3723.           S - Field width for Subdirectories
  3724.           A - Field width for Archive name
  3725.           C - Field width for Comment or category
  3726.               Displaying all  possible file  information on a  single line,
  3727.               neatly arranged in  columns and allowing for the maximum pos-
  3728.               sible length of all fields, would require well over 200 print
  3729.               positions even  if  comments were  restricted to  the old  64
  3730.               character  length limit.    Perhaps some  printers can  print
  3731.               lines this  long, but generally some compromise must be made.
  3732.               The  possibilities are  to  not print  everything, limit  the
  3733.               field widths, not require  columnar alignment for potentially
  3734.               long, variable length items,  or print multiple lines.   If a
  3735.               field width is specified as 0, as many spaces  as needed will
  3736.               be  used  and line  wrapping will  be  done, subject  to line
  3737.               length constraints.   Non-zero widths should  be specified if
  3738.               neat columns are desired; overly long items will be truncated
  3739.               at the field width.
  3740.  
  3741.           E - Print comments bEfore categories
  3742.               Either comments or categories can be printed first.
  3743.  
  3744.           N - Always start New line for comment/category
  3745.               If  YES, a new print line will  be started for any comment or
  3746.               category.
  3747.  
  3748.           X - MaX wrapped print lines per file
  3749.               Specifies the maximum number  of continuation lines which may
  3750.               be printed for  a single file.   Subdirectory names, comments
  3751.               and categories are word-wrapped if they don't fit on the cur-
  3752.               rent  print line.   A zero  here means  only one  line, which
  3753.               probably isn't enough to  print comments or categories unless
  3754.               you are using a small font or a wide-carriage printer.
  3755.  
  3756.           Wssindex 5.22                   51    Output Format Configuration
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.           W - Indentation for Wrapped lines
  3770.               Specifies the  number of  spaces that continuation  lines are
  3771.               indented.  You can  reasonably enter a small number like 5 or
  3772.               10 here, or you can use  a number sufficient to align wrapped
  3773.               comments with the first character of the comment.
  3774.  
  3775.           R - Return to primary configuration menu
  3776.               Return to the previous menu.
  3777.  
  3778.  
  3779.                               Video Board Configuration
  3780.  
  3781.           This  menu selects the screen  output method.   This selection is
  3782.           buried in  this menu because it  only needs to be  made once, and
  3783.           because  accidentally configuring  for  the wrong  type of  video
  3784.           board  is likely to  cause an immediate crash.   Any changes made
  3785.           here take effect when you leave this menu.
  3786.  
  3787.               +-------------------------------------------------------+
  3788.               |            Video board configuration Menu             |
  3789.               |                                                       |
  3790.               | Screen writing method (changes only on menu exit) CGA |
  3791.               | Use DOS calls for prompts (for screen readers)     NO |
  3792.               | Suppress snoW on CGA                               NO |
  3793.               | Raw Mode screen output                             NO |
  3794.               |                                                       |
  3795.               | Use BIOS call to set screen size                   NO |
  3796.               | AX value for BIOS call                              0 |
  3797.               | BX value for BIOS call                              0 |
  3798.               | Screen wIdth                                       80 |
  3799.               | Screen Height                                      25 |
  3800.               | AX value for BIOS call on exit or push-to-DOS       0 |
  3801.               | BX Value for BIOS call on exit or push-to-DOS       0 |
  3802.               |                                                       |
  3803.               | Return to previous configuration menu                 |
  3804.               +-------------------------------------------------------+
  3805.                   Figure 16. Wssindex video board configuration menu
  3806.  
  3807.  
  3808.           S - Screen writing method
  3809.               Screen  output may be done  using either DOS  calls or direct
  3810.               video writes.  The former is  slower, and on most systems re-
  3811.               quires that ANSI.SYS  be installed (see Appendix B, page 74).
  3812.               However, if running  in a background window,  using DOS calls
  3813.               may prevent screen output from bleeding through  to the fore-
  3814.               ground  window.  The direct  write methods are  MDA for Mono-
  3815.               chrome Graphics Adapter, CGA  for Color Graphics Adaptor, EGA
  3816.               for  Enhanced Graphics  Adapter, and  VGA for  Video Graphics
  3817.               Array.   EGA and VGA differ (here)  from CGA only in the com-
  3818.               mands to set  the border color.   A Hercules board  should be
  3819.               configured as an MDA.
  3820.  
  3821.  
  3822.           Wssindex 5.22                   52    Output Format Configuration
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.               Normally the value here  is determined automatically, but you
  3836.               might need to change it if the auto-detection fails or if you
  3837.               change  your hardware.   If  you enter  the wrong  video type
  3838.               here,  you will likely have to reboot after leaving this menu
  3839.               because the screen will no longer be updated properly.
  3840.  
  3841.           D - Use DOS calls for prompts (for screen readers)
  3842.               This option  is for  blind users.   If YES, prompts  for user
  3843.               input,  status reports  and error  messages are  displayed by
  3844.               temporarily switching  to DOS-calls  video display,  then re-
  3845.               turning to the configured screen-writing method.  This allows
  3846.               screen-reading  programs to separate  important messages from
  3847.               menu displays.  Note that  in all cases, the DOS  cursor fol-
  3848.               lows  the highlight  bar,  so screen  readers should  have no
  3849.               problem in telling where Wssindex thinks the cursor is locat-
  3850.               ed.
  3851.  
  3852.           W - Suppress snoW on CGA
  3853.               Older CGA boards cannot display properly while they are being
  3854.               written to.   If this option  is YES, writes to  video memory
  3855.               will be synchronized with  the horizontal retrace to minimize
  3856.               screen disruption.  This will slow down the updating.
  3857.  
  3858.           M - Raw Mode on screen output
  3859.               Raw  mode means do not check for control-c or control-s after
  3860.               every character of screen output.  Setting this option to YES
  3861.               will speed DOS calls screen output slightly,  but the differ-
  3862.               ence will probably not be noticeable.
  3863.  
  3864.           B - Use BIOS call to set screen size
  3865.               If yes, a BIOS interrupt 10H is used to set the screen dimen-
  3866.               sions.  This option should only be enabled on a machine which
  3867.               is at least moderately IBM compatible.
  3868.  
  3869.           A - AX value for BIOS call
  3870.           B - BX value for BIOS call
  3871.               If non-zero, the  values passed  in the AX  and BX  registers
  3872.               when the video interrupt is generated.  Most boards need only
  3873.               AX; set  BX=0 unless you need another  value.  See the manual
  3874.               for  your video board or appendix I, page 85 for a listing of
  3875.               values for various boards.  Manuals may give hex values; con-
  3876.               vert them to decimal for this menu.
  3877.  
  3878.           I - Screen wIdth
  3879.           H - Screen Height
  3880.               The screen width and height in characters, either on entry or
  3881.               after the video interrupt to set the screen size.
  3882.  
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.           Wssindex 5.22                   53      Video Board Configuration
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.           X - AX value for BIOS call on exit or push-to-DOS
  3902.           B - BX Value for BIOS call on exit or push-to-DOS
  3903.               These parameters,  if non-zero,  are used  to set  the screen
  3904.               dimensions before exiting or pushing to DOS.  Typically an AX
  3905.               value of 2,3 or 7 would be used here to return to 80x25 mode.
  3906.  
  3907.           R - Return to previous menu
  3908.               Returns to the miscellaneous configuration menu.
  3909.  
  3910.  
  3911.                                  Color Selection Menu
  3912.                +-----------------------------------------------------+
  3913.                |                  Attribute   Foreground  Background |
  3914.                |                                                     |
  3915.                | Normal text      none        white       blue       |
  3916.                | Highlights       bold        yellow      blue       |
  3917.                | Status info      bold        white       white      |
  3918.                | Selector bar     bold        yellow      magenta    |
  3919.                | Border color     none        blue                   |
  3920.                +-----------------------------------------------------+
  3921.                       Figure 17. Wssindex color selection screen
  3922.  
  3923.           Use + and - keys to cycle forward and backward through colors, or
  3924.           left mouse  button to advance colors.  Cursor arrow keys or mouse
  3925.           select which item is to be changed.  Hit ENTER or the right mouse
  3926.           button when done.  A selector bar is not used if using  DOS calls
  3927.           for  screen output, so  this option  may not  be displayed.   The
  3928.           border color control is not functional on all systems, in partic-
  3929.           ular, EGA cards may not allow colored borders.  Also, while there
  3930.           is an ANSI  escape sequence  for setting the  border color,  most
  3931.           implementations  of  ANSI.SYS do  not support  it, so  the border
  3932.           color selection will  usually not  work in DOS-calls  mode.   The
  3933.           actual  screen colors may not match  the labels exactly.  For in-
  3934.           stance,  on a monochrome system,  blue on black  will give under-
  3935.           line,  and non-bold  yellow may display  as brown.   As you cycle
  3936.           through colors, the labels at the left will change to the select-
  3937.           ed colors.
  3938.  
  3939.                                 The Add-Comments Menu
  3940.  
  3941.           The  add-comments menu  screen displays  each matching  file name
  3942.           along with the disk and  subdirectory it is found on, as  well as
  3943.           the  containing archive file for  archive file members.  Starting
  3944.           with  version 3.2, each disk  and each subdirectory  will cause a
  3945.           dummy database entry to be made with a blank file name and exten-
  3946.           sion  of "ID".   These entries,  which receive  special treatment
  3947.           when  printing, give you a  place to hang  comments describing an
  3948.           entire disk or subdirectory.
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.           Wssindex 5.22                   54      Video Board Configuration
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.            +-------------------------------------------------------------+
  3968.            |                       Add comments menu                     |
  3969.            |                                                             |
  3970.            | Disk id: MS-RAMDRIVE File name:   .ID                       |
  3971.            | Subdirectory:  Root                                         |
  3972.            |                                                             |
  3973.            | Copy buffer:                                                |
  3974.            |                                                             |
  3975.            |                                                             |
  3976.            | Current file:                                               |
  3977.            |                                                             |
  3978.            |                                                             |
  3979.            | New comment:                                                |
  3980.            |    category:                                                |
  3981.            |                                                             |
  3982.            |                                                             |
  3983.            | F 1 - copy comment               F 2 - delete comment       |
  3984.            | F 3 - copy category              F 4 - delete category      |
  3985.            | F 5 - copy both                  F 6 - chng srch direction  |
  3986.            | F 7 - skip to next               F 8 - view file            |
  3987.            | F 9 - add comment and advance    F10 - return to main menu  |
  3988.            | ENTER  - comment/category toggle INSERT  - insert/overtype  |
  3989.            | Alt-F1 - toggle help             Ctrl-END - delete to end   |
  3990.            |                                                             |
  3991.            |                               Searching  forward INSERT OFF |
  3992.            +-------------------------------------------------------------+
  3993.                        Figure 18. Wssindex add-comments screen
  3994.  
  3995.  
  3996.           The ten  function keys, alt-letter keys,  plus BACKSPACE, INSERT,
  3997.           DELETE, ENTER, HOME, and the left/right cursor arrows are used to
  3998.           control this part of the program.  Two different sets of function
  3999.           key  assignments can be  selected from the  configuration menu to
  4000.           support  different keyboard layouts.  (A third set of key assign-
  4001.           ments is used in the  Rainbow version.)  While it  doesn't really
  4002.           matter which arrangement you use, the placement  of the functions
  4003.           and the position of the on-screen help  are more  rational if you
  4004.           select the  layout which matches your keyboard.  The descriptions
  4005.           below assume  that you are using the IBM layout, which is now the
  4006.           default if no configuration file is found (early program releases
  4007.           supported only the alternate layout).
  4008.  
  4009.                                  Function Key layouts
  4010.  
  4011.                     F1   F2        F1   F6       PF1          F17
  4012.                     F3   F4        F2   F7       PF2          F18
  4013.                     F5   F6        F3   F8       PF3          SELECT
  4014.                     F7   F8        F4   F9       NEXT SCREEN  FIND
  4015.                     F9   F10       F5   F10      PF4          EXIT
  4016.  
  4017.                       IBM          Alternate         Dec Rainbow
  4018.                        (Function keys may be labeled Fn or PFn)
  4019.  
  4020.           Wssindex 5.22                   55              Add-Comments Menu
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.           A help menu and three sets of information are displayed:
  4034.  
  4035.           Copy buffer -  a comment/category  pair which can be  copied into
  4036.                          the new comment field.
  4037.           Current file - the comment/category currently in the database for
  4038.                          the displayed file.
  4039.           New comment/category  - the comment and  category currently being
  4040.                          entered.
  4041.  
  4042.           The special functions available are:
  4043.  
  4044.           F1 -   Copy comment: if the  file has a  comment, copy it to  the
  4045.                  new comment field; otherwise, copy the comment in the copy
  4046.                  buffer.  If you  want to replace an existing  comment with
  4047.                  one  from the copy buffer,  you must first  delete the old
  4048.                  comment  (F2). Note that this does not actually add a com-
  4049.                  ment to the file until you hit F9.
  4050.  
  4051.           F2 -   Delete comment: any  comment for the  current file is  de-
  4052.                  leted immediately.  If  you have entered something in  the
  4053.                  new comment field, and decide that you do not want to have
  4054.                  any comment associated with  the file, just hit F2  to de-
  4055.                  lete the old  comment, followed by F7 to  skip to the next
  4056.                  file without adding the  contents of the new field  to the
  4057.                  database.  It is  not necessary to clear the  text entered
  4058.                  into the new comment field.
  4059.  
  4060.           F3 -   Copy category: if the file has a category, copy it  to the
  4061.                  new category  field; otherwise,  copy the category  in the
  4062.                  copy buffer.   As  with F1, this  does not actually  add a
  4063.                  category until F9 is hit.
  4064.  
  4065.           F4 -   Delete  category: any category for the current file is de-
  4066.                  leted  immediately.  Proceed as  described under F2 to de-
  4067.                  lete a  category after  having entered something  into the
  4068.                  new category field.
  4069.  
  4070.           F5 -   Copy both: the same as hitting both F1 and F3.
  4071.  
  4072.           F6 -   Change search direction: toggles the  search direction for
  4073.                  the next matching file between forward and backward.  
  4074.  
  4075.           F7 -   Skip  to next: advance to  the next file, without changing
  4076.                  the current comment and category fields.
  4077.  
  4078.           F8 -   View file: the  first indexing drive  is searched for  the
  4079.                  current file.  The  disk volume name must match  (an unla-
  4080.                  beled disk will be accepted).  If the file is found, it is
  4081.                  displayed on the bottom half of  the screen.  Non-printing
  4082.                  characters are translated to periods, so there is no prob-
  4083.                  lem  with viewing a non-ascii file.  The configuration may
  4084.                  be set  to clear  the high bit  of each character  to make
  4085.  
  4086.           Wssindex 5.22                   56              Add-Comments Menu
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.                  WordStar files  printable.   Lines longer than  the screen
  4100.                  width are  truncated.  This  function will fail  and claim
  4101.                  that the file could  not be found if  there is not  enough
  4102.                  free memory to open a file.
  4103.  
  4104.           F9 -   Add  comment and advance: the new comment and category (if
  4105.                  any)  are added to the current file and copied to the copy
  4106.                  buffer.   Blank  fields will  not be  copied and  will not
  4107.                  change the record for the current file.
  4108.  
  4109.           F10 -  Return to the main menu.
  4110.  
  4111.           BACKSPACE -  (or Delete key on Rainbow)  Delete character to left
  4112.                  of cursor.
  4113.  
  4114.           DELETE - (Remove key on Rainbow)  Delete character under the cur-
  4115.                  sor.
  4116.  
  4117.           INSERT  - (Insert  Here on  Rainbow)   Toggle between  insert and
  4118.                  overwrite mode.
  4119.  
  4120.           ENTER - Toggle between comment and category.
  4121.  
  4122.           Left/right cursor arrows - Move around in the comment or category
  4123.                  strings for editing.
  4124.  
  4125.           Control-left/right cursor arrows - Move the cursor in word rather
  4126.                  than character steps.
  4127.  
  4128.           PgUp/PgDn  - (Prev/Next  screen on  Rainbow) Move  the cursor  in
  4129.                  steps  5 characters less than the field width.  These keys
  4130.                  are primarily useful if you are entering long comments.
  4131.  
  4132.           HOME - (PF1  Screen on Rainbow) Move  the cursor to the beginning
  4133.                  of the current field.  
  4134.  
  4135.           END -  (F19 key  on Rainbow) Move  the cursor  to the end  of the
  4136.                  current field.  (Hitting return twice will also do this.)
  4137.  
  4138.           Control-END - (F4 key  on Rainbow) Delete characters  from cursor
  4139.                  to end of field.
  4140.  
  4141.           Alt-F1 or Shift-F1  - (Help  key on Rainbow,  control-1 on  Sanyo
  4142.                  550) toggle help display between function key descriptions
  4143.                  and list of keyboard macros.
  4144.  
  4145.           ^R -   Redraw the  entire screen.   It shouldn't be  necessary to
  4146.                  use this key very  often, if ever, but occasionally  a DOS
  4147.                  error message or a program problem can scroll or otherwise
  4148.                  mess  up the parts of  the screen which  are normally con-
  4149.                  stant.
  4150.  
  4151.  
  4152.           Wssindex 5.22                   57              Add-Comments Menu
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.           Alt-letter - Append one of the 26 keyboard macros to the category
  4166.                  field, along with a comma and a space if anything was pre-
  4167.                  viously  entered there.   (The  behavior here  is slightly
  4168.                  different than in  other parts  of the  program where  the
  4169.                  macro strings are simply  appended to any previous input).
  4170.                  Note that changing the keyboard macros will not change the
  4171.                  categories which  have already been assigned  to files; it
  4172.                  is the actual  string which is saved for each file.  Also,
  4173.                  the macros are stored in  the configuration file, not  the
  4174.                  database.  (In the  DEC Rainbow version, F20 is used  as a
  4175.                  substitute for the  Alt key.  On a 100A,  you can also use
  4176.                  the Compose key.)
  4177.  
  4178.           When all files which match the selection criteria  specified have
  4179.           been processed, you normally  return to the previous menu.   This
  4180.           would  make it inconvenient to  apply corrections to a previously
  4181.           commented database, or otherwise  process several groups of files
  4182.           selected by  name.  So,  if the only  selection criterion is  the
  4183.           filename, you will be prompted for  a new list of filespecs  when
  4184.           all matching  files have been  processed, and the  selected files
  4185.           will automatically be sorted  using the same sort keys  (if any).
  4186.           At this point, you can also just hit ESCAPE to return to the main
  4187.           menu.
  4188.  
  4189.           Comment and category  lengths are  limited to values  set in  the
  4190.           configuration.  If  you use the category field as  it is named it
  4191.           will usually be one or more relatively short phrases.  Some users
  4192.           may want  to use this field  as a version number.   WSSINDEX will
  4193.           not  allow control  characters  in comments,  but anything  else,
  4194.           including high-bit ascii,  is acceptable.  If  the comment length
  4195.           is larger than will fit on  screen, the display will scroll left-
  4196.           right in steps as you move the cursor through the comment.  
  4197.  
  4198.                                   WSSINDEX Utilities
  4199.  
  4200.           All of the utilities read a standard configuration file, although
  4201.           in  some cases the only  information actually used  is the screen
  4202.           writing method and screen colors.
  4203.  
  4204.  
  4205.  
  4206.                                IDADD Conversion Utility
  4207.  
  4208.           WSSINDEX version 3.2  introduced a new option  to assign comments
  4209.           to disks and subdirectories  in addition to files.   This feature
  4210.           was implemented by making dummy database entries (which look like
  4211.           files  with name .ID) for  each disk and  subdirectory.  However,
  4212.           databases  created by older versions of the program will not have
  4213.           these entries, and WSSINDEX  would only create them if  the disks
  4214.           were re-indexed.   Also, it is  now possible to configure  to not
  4215.           generate .ID entries for volume names.
  4216.  
  4217.  
  4218.           Wssindex 5.22                   58              Add-Comments Menu
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.           IDADD is a  utility for adding these dummy  entries to a database
  4232.           without re-indexing.  It will also insert a .ID entry in place of
  4233.           the DUMMY_EN.TRY  file which  older versions of  WSSINDEX created
  4234.           when a disk was indexed with  the control-a option (and will pre-
  4235.           serve any comment associated with the old entry).  It will recog-
  4236.           nize disks which already have .ID entries and just copy  them, so
  4237.           you  can use this utility on any database (except old version 1.x
  4238.           databases which  must first  be converted  by loading  and saving
  4239.           with WSSINDEX).
  4240.  
  4241.           IDADD reads  a standard  configuration file,  mostly  to get  the
  4242.           video output mode and screen colors.  You can specify the config-
  4243.           uration and input  database file  names on the  command line,  or
  4244.           allow IDADD to  prompt you  for them.   The output database  name
  4245.           must be entered interactively.
  4246.  
  4247.                                    *** Warning ***
  4248.  
  4249.           The name of the output database must not be the same as the input
  4250.           database, else the output will overwrite the input during the up-
  4251.           dating process.
  4252.  
  4253.           One small quirk: if you have  a subdirectory with no files in it,
  4254.           IDADD  will not  create a  dummy entry  for it,  whereas WSSINDEX
  4255.           would if the disk  were reindexed.  It would be moderately diffi-
  4256.           cult to change this, so I won't do it unless I get complaints.
  4257.  
  4258.  
  4259.                           WSSMERGE Database Merging Utility
  4260.  
  4261.           WSSMERGE merges  two WSSINDEX databases.   Only databases written
  4262.           by WSSINDEX version 2.0 or higher can be merged.  Older databases
  4263.           can  be converted  by  loading them  into  a current  version  of
  4264.           WSSINDEX  and resaving them.  Since WSSINDEX itself can now merge
  4265.           databases, this utility is almost obsolete.
  4266.  
  4267.           WSSMERGE reads  a standard configuration file, mostly  to get the
  4268.           video output mode and screen colors.
  4269.  
  4270.           When  merging, you can elect  to assign a  common category to all
  4271.           files from the  first database,  and a second  category to  files
  4272.           from the  second database.  This might be useful if you had small
  4273.           databases  organized by category, and wanted to merge them into a
  4274.           single database.  You can suppress either common category by just
  4275.           hitting  return when  prompted for  the category.   In  any case,
  4276.           previously entered categories are not changed.
  4277.  
  4278.           The names of the configuration  file, input and output databases,
  4279.           merged database, and common categories can be entered on the com-
  4280.           mand line  (in this order).  If some or all are omitted, the pro-
  4281.           gram  will prompt you for them.  The WSSICNF environment variable
  4282.           is used for  the default configuration file  name, and if  you do
  4283.  
  4284.           Wssindex 5.22                   59                          Idadd
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.           not  specify file extensions, .CNF or .DIR is assumed, but other-
  4298.           wise there are no defaults for the names.  If you want to specify
  4299.           a null category, enter a hyphen.
  4300.  
  4301.                                    *** Warning ***
  4302.  
  4303.           The name of the output database must not be the same as either of
  4304.           the input  databases, else  the output  will overwrite  the input
  4305.           during the merging process.
  4306.  
  4307.           The disk space required for the output file will be approximately
  4308.           the sum of  the input sizes, but the  entire merged database will
  4309.           not be  in core at once, so you may  be able to create a database
  4310.           larger than you can restore.  If the output file would exceed the
  4311.           16K  file limit,  you will  be  warned that  WSSINDEX/Extended is
  4312.           required to read the file.
  4313.  
  4314.           One error which the  program may warn you about  after completing
  4315.           the merging operation is duplicate volume names in the  database.
  4316.           The duplicate  entries are not  deleted from the  merged database
  4317.           because that  operation is  difficult to perform  without loading
  4318.           the  entire database into memory.   WSSINDEX has an option to de-
  4319.           lete these duplicate volumes.
  4320.  
  4321.                            SPLIT Database Splitting Utility
  4322.  
  4323.           SPLIT  takes a WSSINDEX database  and splits it  into two smaller
  4324.           databases.  This function is something you might want to  do if a
  4325.           database  is pushing against the memory limits.  The output data-
  4326.           bases will be  written in the format compatible with the DOS ver-
  4327.           sion unless the number of files exceeds 16K.
  4328.  
  4329.           SPLIT accepts 4  optional command line parameters:  configuration
  4330.           file name, input  database name, and  two output database  names.
  4331.           If specified,  the database names  become defaults which  must be
  4332.           confirmed by hitting return.
  4333.  
  4334.           After entering the database  names, you are shown all  the volume
  4335.           names on  one or a few screens with volumes  which will go to the
  4336.           second database highlighted.   (Initially, all volumes are marked
  4337.           as going to  the first database.)   Move the cursor  (allowed mo-
  4338.           tions summarized  below) to the volumes  which you want to  go to
  4339.           the second output database and hit the spacebar.  The volume name
  4340.           will be  highlighted to indicate  that the  disk will  go to  the
  4341.           second database, and  the cursor will move to  the next volume in
  4342.           the list.  If you change your mind, just tag the volume again and
  4343.           it will toggle back.
  4344.  
  4345.           At any time, you can sort the  list of volumes by name, date  in-
  4346.           dexed, free disk space or numeric part of volume name.  (It's not
  4347.           clear  how useful some of  these sort keys  are, but they already
  4348.  
  4349.  
  4350.           Wssindex 5.22                   60                       Wssmerge
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.           existed from other places.)   After marking volumes, you  can ei-
  4364.           ther abort the program or write the two databases.
  4365.  
  4366.           This  is a rather crude utility in  that it doesn't give you very
  4367.           much  information to  help you  decide how  to divide  the disks.
  4368.           However, because it is  simple, it can handle large  databases in
  4369.           limited memory, hence it can be used to break up a database which
  4370.           is too large to loaded on some machines.
  4371.  
  4372.                Cursor motions       Standard keyboard    Rainbow keyboard
  4373.  
  4374.                up/down/left/right   arrow keys           arrow keys
  4375.                first volume shown   home                 Help
  4376.                1st column           ctl left arrow       ctl left arrow
  4377.                last column          ctl right arrow      ctl right arrow
  4378.                bottom of column     end                  Insert Here
  4379.                last volume shown    ctl end              Select
  4380.                next page            PgDn                 Next Screen
  4381.                previous page        PgUp                 Prev Screen
  4382.  
  4383.                             Database Conversion Utilities
  4384.  
  4385.           There  has been surprisingly little demand  for utilities to con-
  4386.           vert  databases from  other  disk indexing  programs to  WSSINDEX
  4387.           format.  The following conversion programs, not normally included
  4388.           in the distribution  package,  can be supplied with  any order at
  4389.           no extra charge.
  4390.  
  4391.           Backup  Master -  not exactly  what I  had in  mind when  I first
  4392.           thought about  conversion utilities.   This is a  commercial disk
  4393.           backup  program which  produces  a "history  file" listing  where
  4394.           backup copies of files are stored.  The history file is converted
  4395.           into a WSSINDEX database.
  4396.  
  4397.           Fastback Plus  (under development)  - Backup  Master was  sold to
  4398.           Fastback, and the author  wrote Fastback Plus.  Backup  log files
  4399.           similar  to those produced by  Backup Master can  be written, and
  4400.           the Backup Master conversion  utility is being revised to  handle
  4401.           these files.
  4402.  
  4403.           Dos File Tracker - this is a disk cataloguer sold by IBM; a fair-
  4404.           ly straightforward conversion.
  4405.  
  4406.           Other formats are under consideration for future releases.
  4407.  
  4408.                                 Problems and Solutions
  4409.  
  4410.                               Hard/software requirements
  4411.  
  4412.           You must have  MS- or PC-DOS level 2.0 or  higher to run WSSINDEX
  4413.           (3.0  for extended version) because it uses operating system fea-
  4414.           tures not supported by DOS-1.   If configured for DOS video  out-
  4415.  
  4416.           Wssindex 5.22                   61                          Split
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.           put, WSSINDEX requires only a moderate level of IBM compatibility
  4430.           to  run, but your system  must support ANSI  escape sequences for
  4431.           cursor  positioning and  highlighting.   This support  may be  an
  4432.           integral part  of your system (as  is the case for  the Sanyo 55x
  4433.           series  without the video board option), but is often provided by
  4434.           an installable device driver  called ANSI.SYS (ANSI55.SYS for the
  4435.           Sanyo 55x with the video board).  If your system does not support
  4436.           ANSI.SYS  commands, you  will see  the control  sequences on  the
  4437.           screen; they begin with a left arrow  and a [.  If you find  that
  4438.           you are having this problem, read about ANSI.SYS in Appendix B.
  4439.  
  4440.           Many  MS-DOS machines which are not fully IBM compatible are able
  4441.           to run WSSINDEX,  although often only  with the slower  DOS-calls
  4442.           video  option.  Such machines often have hardware or software IBM
  4443.           emulators;  these may enable WSSINDEX to run.  Machines with suf-
  4444.           ficiently incompatible keyboards cannot run the standard version.
  4445.           Versions for the  DEC Rainbow  and TI Professional  exist or  are
  4446.           under development and will be released shortly after the IBM ver-
  4447.           sion.
  4448.  
  4449.  
  4450.                      Known incompatibilities with other software
  4451.  
  4452.                                   Disk Cache Warning
  4453.  
  4454.           WSSINDEX may not be compatible with the disk cache utility Light-
  4455.           ning,  (old) version 4.2 (not to be confused with Borland's Turbo
  4456.           Lightning).   Based on user reports, it  appears that if two non-
  4457.           system  disks (with labels but  no files on  them) are indexed in
  4458.           succession,  the volume  name and  directory of  the second  will
  4459.           appear to be identical to the first.  This is not  a WSSINDEX bug
  4460.           because it can be  reproduced using the DOS VOL and  DIR commands
  4461.           when Lightning is active.  I'm not sure exactly what circumstanc-
  4462.           es will trigger the bug, and I don't have a copy of Lightning for
  4463.           testing, but it is potentially catastrophic if directory informa-
  4464.           tion is improperly buffered  when you write to  a disk.   Similar
  4465.           problems could conceivably also occur with other disk cache util-
  4466.           ities, although none have been reported.
  4467.  
  4468.                                    Incompatible TSR
  4469.  
  4470.           A user reports that if the Word Perfect program SHELLDOS is load-
  4471.           ed, the Alt-letter  keys are  not functional in  Wssindex on  his
  4472.           Tandy 2000.   This is  an ancient report, quite  likely no longer
  4473.           true, but it  does point  out that memory  resident programs  can
  4474.           cause unexpected side effects.
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.           Wssindex 5.22                   62                       Problems
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.                              Answers to Common Questions
  4496.  
  4497.           Q.  Help, my  screen is filled  with garbage, mostly  numbers and
  4498.               square brackets, but also some text.
  4499.  
  4500.           A.  You  are configured to use  DOS calls for  screen output, but
  4501.               have  not installed ANSI.SYS.  If your video board is not IBM
  4502.               compatible, see  Appendix B  for information  about ANSI.SYS,
  4503.               otherwise read  about selecting  video mode in  the introduc-
  4504.               tion.
  4505.  
  4506.           Q.  The menus would look better if they were enclosed in a box.
  4507.  
  4508.  
  4509.           A.  They are boxed if you configure for direct video writes.  The
  4510.               menu boxes are  suppressed when using  DOS calls because  the
  4511.               large number  of cursor  positioning calls makes  drawing the
  4512.               boxes really slow.
  4513.  
  4514.  
  4515.           Q.  Is Wssindex compatible with Microsoft Windows 3.x?
  4516.  
  4517.           A.  WSSINDEX (DOS  version) will run  under Windows, but  it will
  4518.               not  take advantage of any Windows features and the available
  4519.               memory for database  storage will  be less than  if run  from
  4520.               DOS.  WSSINDEX/Extended  will only run under  Windows in real
  4521.               mode.  To find out  which mode Windows is in, click  on Help,
  4522.               About Program Manager  from the Program  Manager window.   At
  4523.               this writing I have  just purchased a new extender  from Ergo
  4524.               which claims  compatibility with all 3  Windows modes; future
  4525.               releases of Wssindex/Extended will use this extender.
  4526.  
  4527.  
  4528.           Q.  I set up a big RAM disk to increase storage capacity, but I'm
  4529.               still getting out of memory errors.
  4530.  
  4531.           A.  WSSINDEX keeps a database entirely in  memory.  A RAM disk in
  4532.               conventional memory  will only  serve to decrease  the memory
  4533.               available to the program.  If you are running out  of memory,
  4534.               try removing  any memory resident programs  such as Sidekick.
  4535.               In WSSINDEX/Extended, use 286SETUP  to increase memory  allo-
  4536.               cated  to the extender  and decrease memory  reserved for the
  4537.               DOS shell.
  4538.  
  4539.  
  4540.           Q.  When  I print  my database, I  get all the  volume names (and
  4541.               subdirectories) first.
  4542.  
  4543.           A.  These are the "dummy entries" which give you  a place to hang
  4544.               comments about  disks and subdirectories.   You probably want
  4545.               to  exclude them when sorting first by file name, and include
  4546.               them when  sorting first  by disk name.   The easiest  way to
  4547.  
  4548.           Wssindex 5.22                   63               Common Questions
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.               exclude them is  to use  selection option -1  to reject  file
  4562.               name .ID.
  4563.  
  4564.  
  4565.           Q.  I don't  have any subdirectories  on my  disks, yet  WSSINDEX
  4566.               won't  let me configure for 0 subdirectories, and it tells me
  4567.               I have one, even if there are no disks in the database.
  4568.  
  4569.           A.  Internally, the root directories of all disks  are treated as
  4570.               a single  subdirectory, and this pseudo-directory  is the one
  4571.               you see.
  4572.  
  4573.  
  4574.           Q.  When I print, every  other page is either  blank or has  only
  4575.               one or a few lines printed on it.
  4576.  
  4577.           A.  Check your configuration.  The number of lines on the printer
  4578.               is  the number of  printable lines with  no margin allowance.
  4579.               So, if you are using 8.5x11"  paper at 6 lines/inch, and  ask
  4580.               for 66 print  lines, your printer will have just  gone to the
  4581.               top of a new page when WSSINDEX sends out a form feed.
  4582.  
  4583.  
  4584.           Q.  My laser  printer only prints 60 lines/page.  How can I print
  4585.               your documentation file which is formatted for 66 lines/page?
  4586.  
  4587.           A.  I can  supply replacement documentation formatted for differ-
  4588.               ent page  lengths, or WordPerfect 5.1 files.   Although Word-
  4589.               Perfect  will attempt to convert  the document to  5.0 or 4.2
  4590.               format, some of the formatting does not survive conversion to
  4591.               5.0, and  even some of the  text gets lost converting  to 4.2
  4592.               format.
  4593.  
  4594.  
  4595.           Q.  Some or all of the environment variables don't seem to work.
  4596.  
  4597.           A.  Are you setting  them in your  AUTOEXEC.BAT file and  running
  4598.               out  of  environment  space?   Often  other  programs  run in
  4599.               AUTOEXEC  will clear the screen before you can read the error
  4600.               message.
  4601.  
  4602.  
  4603.           Q.  When  I try to make multi-column listings or disk covers, the
  4604.               last item printed for each file is partially cut off.
  4605.  
  4606.           A.  WSSINDEX builds  up a  print  line containing  all the  items
  4607.               specified in  the configuration, and then truncates it to fit
  4608.               in  the available number of  columns.  You  need to configure
  4609.               for fewer items printed, wider paper, or fewer columns.
  4610.  
  4611.  
  4612.  
  4613.  
  4614.           Wssindex 5.22                   64               Common Questions
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.           Q.  Why  don't you  extract directory  information from  self-ex-
  4628.               tracting files?
  4629.  
  4630.           A.  Because that would require  reading every EXE file to  see if
  4631.               it  was a  self-extractor, and  would greatly  slow indexing.
  4632.               This function  may be added as an  option in a future release
  4633.               if I can figure  out the necessary file formats  (not all are
  4634.               documented).
  4635.  
  4636.  
  4637.           Q.  When  I print disk covers or multi-column listings for a disk
  4638.               with subdirectories, the separator line which should have the
  4639.               subdirectory name just says "Subdirectory".
  4640.  
  4641.           A.  You  are configured to  print the subdirectory  name for each
  4642.               file,  so the name is not shown  a second time.  However, the
  4643.               page  is too  narrow to  display the  column of  subdirectory
  4644.               names,  so it is truncated.   The same  thing can happen with
  4645.               volume labels.   The solution  is not to  configure to  print
  4646.               items which are truncated due to page width.
  4647.  
  4648.  
  4649.           Q.  I use ANSI.SYS to  redefine my function keys.   Wssindex sees
  4650.               these redefinitions so I can't use F10 to get out of the add-
  4651.               comments screen.
  4652.  
  4653.           A.  If  your machine is  reasonably IBM compatible,  set the "Use
  4654.               BIOS to read keyboard" option to YES.
  4655.  
  4656.  
  4657.           Q.  I can't seem to  make the push-to-DOS option work,  even with
  4658.               lots of memory free.
  4659.  
  4660.           A.  Does  the  COMSPEC  environment variable  specify  a complete
  4661.               path?  If COMMAND.COM  (or whatever) is in the  root, COMSPEC
  4662.               says d:COMMAND.COM  rather then  d:\COMMAND.COM, and  you are
  4663.               logged into a subdirectory, COMMAND.COM will not be found.
  4664.  
  4665.  
  4666.           Q.  I have  an ARC file which  PKXARC or PKUNPAK says  is ok, but
  4667.               WSSINDEX says it is corrupt.
  4668.  
  4669.           A.  The  PKWare extraction  program will  silently skip  over any
  4670.               ascii text which is prepended to an ARC file.  SEA's ARC will
  4671.               warn  you that it is  doing this.   The one file  I have seen
  4672.               with  this  problem had  the text  "Ready  to send  file with
  4673.               XMODEM protocol" prepended.   The solution is to extract  the
  4674.               files and recreate the archive.
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.           Wssindex 5.22                   65               Common Questions
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.                             Command Line Parameter Summary
  4694.  
  4695.           The various programs in the WSSINDEX package accept optional com-
  4696.           mand line parameters.  Summarized below are the parameters recog-
  4697.           nized by each program.  Names  in upper case are the default file
  4698.           names, other abbreviations are:
  4699.  
  4700.           cnf- a configuration file.  Default name set by environment vari-
  4701.           able WSSICNF, otherwise WSSINDEX.CNF.
  4702.  
  4703.           dir - a database file,  Default name set  by environment variable
  4704.           WSSIDIR, otherwise WSSINDEX.DIR.
  4705.  
  4706.           * - use default.
  4707.  
  4708.           = - generate database name from configuration file name by adding
  4709.           .DIR extension.
  4710.  
  4711.           cat1,2 -  categories to  be assigned to  all files from  first or
  4712.           second  database.   Hyphen  means  none.   Multi-word  categories
  4713.           should be enclosed in quotes.
  4714.  
  4715.           WSSINDEX  cnf  dir
  4716.                     *    *,=
  4717.  
  4718.           IDADD     cnf  dir
  4719.                     *    *
  4720.  
  4721.           SPLIT     cnf  dir  1ST_HALF.DIR  2ND_HALF.DIR
  4722.                     *    *,=  *             *
  4723.  
  4724.           WSSMERGE  cnf  1ST_HALF.DIR  2ND_HALF.DIR  MERGED.DIR  cat1  cat2
  4725.                     *    *             *             *           -     -
  4726.  
  4727.                                        Support
  4728.  
  4729.           The  DOS version  of WSSINDEX  is distributed  as shareware.   In
  4730.           various past releases, the shareware program file has ranged from
  4731.           identical to the  registered version  to limited to  a 1000  file
  4732.           database.  Currently, the  shareware executable displays an open-
  4733.           ing commercial, but is otherwise identical to the version sent to
  4734.           purchasers (and as  an ASP member, I have pledged  not to release
  4735.           crippled software).   If you purchase  the complete package,  you
  4736.           will  receive the demo package  which you can  distribute, plus a
  4737.           replacement for  WSSINDEX.EXE without the opening  commercial and
  4738.           instructions  for removing  whatever limitations are  included in
  4739.           future demo releases.  See page 69 or the file ORDERFRM.DOC for a
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.           Wssindex 5.22                   66        Command Line Parameters
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.           fee  schedule and  order form.   Orders  and inquiries  should be
  4760.           directed to:
  4761.  
  4762.           Robert W. Babcock
  4763.           WSS Division of DDC
  4764.           4 Reeves Road
  4765.           Bedford, MA  01730
  4766.           USA
  4767.           Phone: 617-275-1183 or 9104
  4768.           Email addresses:
  4769.               BIX:       rbabcock
  4770.               BitNet:    babcock@cfa
  4771.               Internet: babcock@cfa.harvard.edu
  4772.               Compuserve:     >INTERNET:babcock@cfa.harvard.edu
  4773.           (babcock@cfa... goes to  a server machine which forwards  mail to
  4774.           my current  address.  Mail I  send out may have  a return address
  4775.           which is only valid for a limited time.)
  4776.  
  4777.           The  1183 number above has an answering machine which serves both
  4778.           my  business and household, so don't be surprised if the recorded
  4779.           announcement says  you have reached  the Babcock household.   The
  4780.           9104 number does not have an answering machine, so that's the one
  4781.           to try first if you want to talk to a real person.  I  don't mind
  4782.           receiving phone  calls, but you will probably only get to leave a
  4783.           short message before my answering machine cuts you off.  I do try
  4784.           to respond to all correspondence.  If you do call, the best times
  4785.           to  try would be  early weekday mornings,  weekend afternoons, or
  4786.           evenings  8:45-10:00 (Eastern time) any day but Thursday.  If you
  4787.           don't  get a call back within a few days, it usually means that I
  4788.           called and got no answer.  Please try again or send a letter.
  4789.  
  4790.           If you have a  bug report, please mention the version  number and
  4791.           describe your machine and operating environment in as much detail
  4792.           as  seems appropriate.   If I am  unable to reproduce  a reported
  4793.           problem I may ask you to send a copy of your database, but usual-
  4794.           ly this is not required.  Reports of incompatibility with partic-
  4795.           ular brands of machine will always be accepted even from unregis-
  4796.           tered users (I can hardly ask  you to buy the complete package if
  4797.           the program doesn't work on your machine).
  4798.  
  4799.                                The Distribution Package
  4800.  
  4801.           You should  have received the following  files, possibly combined
  4802.           in one or more self-extracting or archive files.  Version numbers
  4803.           for the various executables (nnn in the names below) may not  all
  4804.           be the same.  Demo versions of executables will have a D appended
  4805.           to  the file name, Rainbow and TI  Pro versions will have respec-
  4806.           tively an R  or T appended to  the file name  (and the name  will
  4807.           vary slightly if this would make it longer than 8 characters).
  4808.  
  4809.  
  4810.  
  4811.  
  4812.           Wssindex 5.22                   67                        Support
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.           286SETUP.EXE - (WSSINDEX/Extended  only) a setup utility for con-
  4826.                          trolling the  amount of memory used by the DOS ex-
  4827.                          tender.
  4828.           BUGLIST.DOC -  a list of  known bugs in  previous versions and  a
  4829.                          summary of enhancements.
  4830.           CGA.CNF -      configuration file selecting  CGA (color  graphics
  4831.                          adapter) video, other options set to  default val-
  4832.                          ues.
  4833.           CUTPAST3.COM,.DOC  - a public  domain cut and  paste utility, re-
  4834.                          quires a somewhat higher degree of IBM compatibil-
  4835.                          ity than WSSINDEX.  RPN.COM substituted with Rain-
  4836.                          bow version.
  4837.           DOSCALLS.CNF - configuration file selecting all  default options,
  4838.                          including DOS calls video output.
  4839.           IDADDnnn.EXE - a utility to modify old WSSINDEX databases so that
  4840.                          comments may  be assigned to  disks and  subdirec-
  4841.                          tories, not just files.
  4842.           LATEST.VER -   list of current version numbers.
  4843.           MDA.CNF -      configuration file selecting MDA  (monochrome dis-
  4844.                          play adaptor)  video, other options set to default
  4845.                          values.
  4846.           PRNDEF.DOC -   a  description of  the  various  included  printer
  4847.                          definition files.
  4848.           *.DEF -        printer definition files.
  4849.           README.DOC -   a very brief description of the other files.
  4850.           SCREEN.DEF -   printer definition file  optimized for screen out-
  4851.                          put (used by CUSTPRNT)
  4852.           SITELIC.DOC -  a sample site license agreement.
  4853.           SPLITnnn.EXE - database splitting utility.
  4854.           TUNE.EXE -     (WSSINDEX/Extended only) utility to  configure DOS
  4855.                          extender for your hardware.
  4856.           VIEW.COM -     a simple, public domain document viewing utility.
  4857.           VIEW.DOC -     documentation for VIEW.COM
  4858.           WHATMEM.EXE -  (WSSINDEX/Extended only) utility which reports how
  4859.                          much extended memory is available.
  4860.           WSEXTnnn.EXE - (WSSINDEX/Extended only) protected mode  main exe-
  4861.                          cutable.
  4862.           WSSInnn.DOC -  this documentation file in ascii form.
  4863.           WSSInnn.WP -   (registered  version  only) this  documentation in
  4864.                          Word Perfect 5.1 format.
  4865.           WSSInnn.EXE -  (registered version only)  WSSINDEX, the main exe-
  4866.                          cutable program.
  4867.           WSSInnnD.EXE - evaluation version of  WSSINDEX, the main  execut-
  4868.                          able.
  4869.           WSSMnnn.EXE -  WSSMERGE, a utility for merging  WSSINDEX databas-
  4870.                          es.
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.           Wssindex 5.22                   68           Distribution Package
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.                                  Ordering Information
  4892.  
  4893.                                WSSINDEX Price schedule
  4894.  
  4895.           This fee schedule replaces any previous editions, except for site
  4896.           license  agreements previously in effect.   All prices  are in US
  4897.           dollars.  Extended version includes the DOS version.
  4898.  
  4899.           Registration Level       Wssindex (DOS)      Wssindex/Extended
  4900.  
  4901.           Level 1  Single user     $35                 $50
  4902.           Level 2  2-10 users      $10 + 25 per user   $15 + 35 per user
  4903.           Level 3  11-20 users     $60 + 20 per user   $115 + 25 per user
  4904.           Level 4  21-50 users     $160 + 15 per user  $215 + 20 per user
  4905.           Level 5  51-100 users    $410 + 10 per user  $465 + 15 per user
  4906.           Level 6  101-500 users   $910 + 5 per user   $965 + 10 per user
  4907.           Level 7  >500 users      $3410               $5965
  4908.  
  4909.           Evaluation copy (DOS versions only)   $5.00
  4910.             (cost credited towards purchase of complete package)
  4911.  
  4912.           Upgrade (plus shipping)
  4913.                DOS                               5.00
  4914.                Extended                          5.00
  4915.                DOS to Extended                  15.00
  4916.  
  4917.           Printed manuals (including postage)
  4918.                USA or Canada                    10.00
  4919.                Other countries                  16.00
  4920.  
  4921.           Media, shipping and handling, required for all orders
  4922.                USA and Canada                    2.50 ($2 evaluation)
  4923.                Other countries                   4.50 ($4 evaluation)
  4924.  
  4925.           Check not drawn on US bank
  4926.                Canada                            1.00
  4927.                Elsewhere (avoid if possible)    15.00
  4928.  
  4929.           Registration level upgrade
  4930.                price differential between old and new  levels plus $10 ser-
  4931.                vice charge
  4932.  
  4933.           Please include sales tax or exemption number for orders delivered
  4934.           in Massachusetts.
  4935.  
  4936.           Software  upgrades: your  license covers  all future  versions of
  4937.           WSSINDEX and related utilities.   Level 2 registrants will  auto-
  4938.           matically  be  sent one  copy of  the  next release  of WSSINDEX.
  4939.           Level 3, 4, 5, 6 and  7 registrants will be sent one copy  of all
  4940.           new releases made,  respectively, in  the 6 month,  12 month,  18
  4941.           month, 2 year or 3 year period following purchase.
  4942.  
  4943.  
  4944.           Wssindex 5.22                   69                     Order Info
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957.           Notes:
  4958.  
  4959.           1.  The  DOS version  of  WSSINDEX is  distributed as  shareware.
  4960.               WSSINDEX is not  and has never  been public domain  software.
  4961.               If you have received the evaluation version, you  are granted
  4962.               a  limited license  to evaluate it  to see  if it  meets your
  4963.               needs.  After a 60 day evaluation period, you are expected to
  4964.               either register or stop using the  program.  With a paid reg-
  4965.               istration (and postage) you  will receive a copy of  the cur-
  4966.               rent evaluation release, plus a replacement for the main rou-
  4967.               tine which does not display the opening screen and a personal
  4968.               password for disabling the opening screen from future evalua-
  4969.               tion releases.  The evaluation version  may be distributed to
  4970.               other users for their evaluation.
  4971.  
  4972.           2.  WSSINDEX is mainly written in Turbo C (with a little assembly
  4973.               language  code), but it uses a few routines derived with only
  4974.               small  modifications from the Computer Innovations C86 source
  4975.               library.  This makes it essentially impossible for me to sell
  4976.               source code, although something  could probably be worked out
  4977.               if someone had a sufficient need.
  4978.  
  4979.           3.  I recognize that determining the exact number of users is im-
  4980.               possible in a large  organization.  A good faith  estimate is
  4981.               sufficient.  When  counting users, you  may use the  "like-a-
  4982.               book" rule: just as a book can only be read by one  person at
  4983.               a time, it should not be possible for  more than the licensed
  4984.               number of users to use the software simultaneously.
  4985.  
  4986.           4.  This price schedule is continuous at the price breaks.  It is
  4987.               never true that the total cost decreases when you add another
  4988.               user, but  the marginal  cost  declines, eventually  reaching
  4989.               zero at the highest registration level.
  4990.  
  4991.           5.  The question may arise in this era of multi-national corpora-
  4992.               tions,  who can be covered under a  single site license?  The
  4993.               answer is a single  company including wholly owned subsidiar-
  4994.               ies.  For complicated situations, please contact WSS Division
  4995.               of DDC for a price quote.
  4996.  
  4997.           6.  If you have needs which might  be met by a special version of
  4998.               WSSINDEX, or a related custom utility, please contact the au-
  4999.               thor at the  address below for estimates of feasibility, cost
  5000.               and development time.
  5001.  
  5002.           7.  To register  or to upgrade, you may print copies of the order
  5003.               form below or use  any convenient form.  Please pay by check;
  5004.               I can handle purchase orders, but I cannot take credit cards.
  5005.               Checks  may be made  payable to Robert  W. Babcock  or to WSS
  5006.               Division of DDC.  If you have any comments about the program,
  5007.               please attach them and indicate which version they apply to.
  5008.  
  5009.  
  5010.           Wssindex 5.22                   70                     Order Info
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.  
  5021.  
  5022.  
  5023.           8.  The charge for  bug correction upgrades  (only last digit  of
  5024.               version number changed) is only the shipping and handling fee
  5025.               ($2.50 US and Canada,  $4.50 elsewhere), or free if a bug be-
  5026.               ing fixed substantially interfered with your  use of the pro-
  5027.               grams.
  5028.  
  5029.           9.  If you need a  receipt for tax or accounting  purposes, check
  5030.               the appropriate  box.  Otherwise,  you will receive  a letter
  5031.               with your personal password.
  5032.  
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059.  
  5060.  
  5061.  
  5062.  
  5063.  
  5064.  
  5065.  
  5066.  
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076.           Wssindex 5.22                   71                     Order Info
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.                                  WSSINDEX ORDER FORM
  5090.  
  5091.           To: WSS Division of DDC                         Date: ___/___/___
  5092.               4 Reeves Road                  Version registered ___5.22____
  5093.               Bedford, MA  01730
  5094.  
  5095.           Name      _____________________________  Phone ____________
  5096.  
  5097.           Company   _____________________________
  5098.  
  5099.           Address   _____________________________
  5100.  
  5101.                     _____________________________
  5102.  
  5103.           City      _________________  State ________  Zip _________
  5104.  
  5105.  
  5106.           Check appropriate boxes: [ ] Printed manual (else docs on disk)
  5107.  
  5108.              [ ] Full registration  [ ] Evaluation copy (DOS only)   [ ] Upgrade
  5109.  
  5110.              [ ] Site license       [ ] Bug fix upgrade, postage fee only
  5111.  
  5112.              [ ] Please send receipt (in addition to letter with password)
  5113.  
  5114.           Disk format:   [ ] 5.25", 360K            [ ] 3.5", 720K
  5115.                          [ ] 5.25", 1.2MB           [ ] 3.5", 1.44MB
  5116.  
  5117.           Version:  [ ] IBM PC & most compatibles [ ] Extended for 286/386/486
  5118.  
  5119.                     [ ] DEC Rainbow (MS-DOS)      [ ] TI Professional
  5120.  
  5121.           Description                   Price    Total
  5122.            
  5123.           WSSINDEX/Extended New Reg.   $50.00
  5124.                     or upgrade           5.00
  5125.           DOS to Extended upgrade       15.00
  5126.           WSSINDEX Registration         35.00
  5127.                     or Upgrade           5.00
  5128.           Demo evaluation copy           5.00
  5129.           Printed manual (US/Canada)    10.00
  5130.                     elsewhere           16.00
  5131.           Massachusetts sales tax                               (Mass only)
  5132.           Postage US/Canada              2.50     2.50     ($2.00 for demo)
  5133.                     other countries      4.50
  5134.           Non-US bank check
  5135.              (see fee schedule)
  5136.           Site license for ___ users
  5137.                                                 ------
  5138.           Amount due:
  5139.  
  5140.  
  5141.  
  5142.           
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.              Appendix A - Forcing Video Board Type if Autodetection Fails
  5156.  
  5157.           Wssindex attempts to identify the type of video adapter installed
  5158.           so that  it can update  the screen  by writing directly  to video
  5159.           memory.  If  Wssindex does  not recognize your  video adapter  it
  5160.           will  instead use ANSI escape sequences for highlighting and cur-
  5161.           sor  positioning.  If your system is not configured to respond to
  5162.           these sequences, the  screen display will be  unusable.  Instruc-
  5163.           tions  for adding  this capability  to your  system are  given in
  5164.           Appendix B, but for most machines performance will be much better
  5165.           if you tell Wssindex which video driver to use.   Available driv-
  5166.           ers  support  monochrome  display  adapter (MDA)  color  graphics
  5167.           adapter (CGA),  EGA and VGA.   Since Wssindex is  strictly a text
  5168.           mode  application, other types of video  board will normally emu-
  5169.           late one of these.  As part of the standard distribution package,
  5170.           you should find  configuration files MDA.CNF and CGA.CNF.  Figure
  5171.           out  which  one is  appropriate  for  your hardware,  and  invoke
  5172.           WSSINDEX by
  5173.  
  5174.               WSSINDEX CGA
  5175.           or  WSSINDEX MDA
  5176.  
  5177.           (note that  the extension .CNF  is supplied automatically  if you
  5178.           leave  it off.   You can specify  a drive or  path if necessary.)
  5179.           Use CGA.CNF for initial  setup with an EGA  and VGA; these  cards
  5180.           are  compatible with  a  CGA except  for  setting border  colors.
  5181.           Alternatively,  before starting you can issue one of the DOS com-
  5182.           mands
  5183.  
  5184.               SET WSSDISP=monochrome
  5185.               SET WSSDISP=color
  5186.               SET WSSDISP=ega
  5187.           or  SET WSSDISP=vga
  5188.  
  5189.           as appropriate  to set the default screen writing method.  If you
  5190.           select the  wrong  display type,  you may  find yourself  "flying
  5191.           blind" and a reboot  will likely be necessary although  you might
  5192.           be able  to recover by hitting  escape a few times  and then con-
  5193.           trol-q.  Once you get running with the proper video  type select-
  5194.           ed, save a configuration file with the default name WSSINDEX.CNF.
  5195.  
  5196.           Some non-IBM-compatible machines, such as the Sanyo 555, may hang
  5197.           when Wssindex attempts to determine the video  type.  If you want
  5198.           to force Wssindex to use ANSI escape sequences without performing
  5199.           the video type checks, use SET WSSDISP=doscalls.  (Any recognized
  5200.           setting of WSSDISP prevents  the video type checking.)   There is
  5201.           also a  DOSCALLS.CNF configuration file included  in the standard
  5202.           distribution, but the configuration file  is read after the video
  5203.           type checks.
  5204.  
  5205.  
  5206.  
  5207.  
  5208.           Wssindex 5.22                   73                     Appendix A
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.                          Appendix B - ANSI.SYS Screen Driver
  5222.  
  5223.           MS/PC-DOS 2  and higher  allow  you to  install software  "device
  5224.           drivers"  when  you boot  your computer.   These  are essentially
  5225.           extensions  of the operating system to  handle specific pieces of
  5226.           hardware.  If WSSINDEX is configured to use DOS calls  for screen
  5227.           output, most systems will need to use the screen driver ANSI.SYS,
  5228.           otherwise  the control  sequences  which are  supposed to  select
  5229.           colors, position  the  cursor or  clear the  screen will  instead
  5230.           appear as characters on the screen.
  5231.  
  5232.           Installation  of ANSI.SYS is simple:   Check your  boot disk with
  5233.           the DIR  command to see if  you have a file  called CONFIG.SYS in
  5234.           the  root directory.  If  not, use your  favorite word processing
  5235.           program to create such a file, and include in it the line
  5236.  
  5237.                     DEVICE=ANSI.SYS
  5238.  
  5239.           Either  upper or lower case is allowed,  but if you use an editor
  5240.           such as WordStar which  can encode formatting information in  the
  5241.           text,  be sure  to  specify  non-document  mode.    If  you  TYPE
  5242.           CONFIG.SYS, you shouldn't see any funny  graphics characters.  If
  5243.           you already have a CONFIG.SYS file, simply add the above line  to
  5244.           it with a word processor, again in non-document mode.
  5245.  
  5246.           Make sure that  the file ANSI.SYS is on your  boot disk, then re-
  5247.           boot your system.  Watch  for any error messages during the  boot
  5248.           process.  The display  should now be much more  intelligible when
  5249.           you run WSSINDEX in DOS calls mode.
  5250.  
  5251.           Notes:
  5252.  
  5253.           1.  The  Dec Rainbow and the  Sanyo 555 (without  the video board
  5254.               option) don't need ANSI.SYS because these functions are built
  5255.               into the operating system.  There are probably other machines
  5256.               for which  this is also true.  It is verrrrrry obvious if you
  5257.               lack ANSI support.
  5258.  
  5259.           2.  ANSI.SYS is not  particularly fast at screen  display.  There
  5260.               are alternative commercial, shareware and  public domain pro-
  5261.               grams with names like FANSI.SYS, NANSI.SYS, which do  a some-
  5262.               what  better job on IBM-PC compatibles.  Also, different ver-
  5263.               sions  of ANSI.SYS  and replacements  support different  com-
  5264.               mands.  I believe  that WSSINDEX now uses only  commands sup-
  5265.               ported by all  ANSI.SYS variants,  but this was  not true  in
  5266.               early releases.
  5267.  
  5268.           3.  A  user once  complained that  ANSI.SYS interfered  with some
  5269.               other applications software, but normally having it installed
  5270.               all the time will do nothing worse than use up a little memo-
  5271.               ry.   However,  ANSI.SYS also  supports control  sequences to
  5272.               redefine keys.  A  rogue program could play games  like rede-
  5273.  
  5274.           Wssindex 5.22                   74                     Appendix B
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.               fining some key to mean DEL *.* or FORMAT C:  with the appro-
  5288.               priate confirmation.   PC Magazine published  an ANSI.SYS re-
  5289.               placement which could be configured  to not allow key redefi-
  5290.               nitions; other  ANSI.SYS replacements  may  have similar  op-
  5291.               tions.
  5292.  
  5293.                       Appendix C - Expanding the DOS Environment
  5294.  
  5295.           MS-DOS versions 2.0 and  higher reserve an area of  memory called
  5296.           the environment space  which can be used  to hold strings of  the
  5297.           form
  5298.  
  5299.                VARIABLE=value
  5300.  
  5301.           You can view the environment variables  by typing SET, or you can
  5302.           change them by typing SET something=whatever.  DOS puts the PATH,
  5303.           PROMPT and COMSPEC variables  here.  Wssindex looks in  the envi-
  5304.           ronment  for WSSICNF,  WSSIDIR, WSSDISP  and WSSPRINT,  and other
  5305.           programs do similar things.  By default, the environment space is
  5306.           only 160  characters long (256  in DOS 5),  and if you  have more
  5307.           than one or  two programs using the  environment, you may get  an
  5308.           "out of environment space" error from DOS.  This  message is most
  5309.           likely to occur  when the SET commands are in  a BAT file because
  5310.           DOS is  able to expand the  environment beyond 160  bytes only if
  5311.           there  is nothing  in the  way.   Running a  BAT  file (including
  5312.           AUTOEXEC) gets in the way until the BAT file exits, as does load-
  5313.           ing a terminate-and-stay-resident program.
  5314.  
  5315.           The  initial environment size can be increased easily, if you are
  5316.           using  DOS  3.0  or  higher,  by  the  SHELL  directive  in  your
  5317.           CONFIG.SYS file.  The syntax is
  5318.  
  5319.                SHELL = [path]COMMAND.COM [path] /P /E:nnn
  5320.  
  5321.           where nnn specifies the environment  size.  For DOS 3.0  and 3.1,
  5322.           nnn is in paragraphs (16 bytes); for  DOS 3.2 or higher it is  in
  5323.           bytes, and  is rounded up to  a multiple of 16.   Don't forget to
  5324.           include the /P or else your AUTOEXEC.BAT file will not be execut-
  5325.           ed.   The  second [path]  tells COMMAND.COM  where to  reload its
  5326.           transient  portion from.  Typically both paths are the same.  Any
  5327.           change will not take effect until you reboot.
  5328.  
  5329.           The DOS 2.x SHELL directive does not  recognize the /E option, so
  5330.           the only way to increase the default environment size is to patch
  5331.           COMMAND.COM.  Also, under any DOS version, if you load a  second-
  5332.           ary command processor (S option from Wssindex), the size environ-
  5333.           ment you  will have until you  exit is the larger  of the current
  5334.           environment  and the 160 or 256 byte default.  Microsoft supplies
  5335.           a utility called SETENV with some of its  compilers to change the
  5336.           default environment  size, but it does  not recognize COMMAND.COM
  5337.           from all  vendors (for example, it  doesn't recognize COMMAND.COM
  5338.           for my old Sanyo 555).  It isn't too difficult to do the patch by
  5339.  
  5340.           Wssindex 5.22                   75                     Appendix B
  5341.  
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.           hand; details are given  in an article  by Richard Hale Shaw,  PC
  5354.           Magazine, April 14, 1987, page 295.
  5355.  
  5356.                         Appendix D - WSSINDEX Database Format
  5357.  
  5358.           This is a description of the format of a WSSINDEX database.  This
  5359.           information  is not needed for  normal program operation, but may
  5360.           be useful if  you want to write a program  to convert an existing
  5361.           database into a WSSINDEX database, read the database with another
  5362.           program  to produce  a customized listing,  or recover  a damaged
  5363.           disk file.   This description may be easier to  follow if you use
  5364.           it as a guide while examining a small database with DEBUG or some
  5365.           other utility.
  5366.  
  5367.           Dates and times are stored in the same format  as used in an FCB.
  5368.           Date  has 7 bits for  years since 1980, 4 bits  for month, 5 bits
  5369.           for day.  Time has 5 bits for hour, 6 bits for minute, 5 bits for
  5370.           second.
  5371.  
  5372.           The database is  stored with disks in the order  they are indexed
  5373.           and files in the order of the disk directories.
  5374.  
  5375.           Wssindex/Extended can write two formats, the "small" format which
  5376.           is compatible with the  DOS version and the "large"  format which
  5377.           allows for more than 16K files.
  5378.  
  5379.           Notation:
  5380.               \n   - a newline, that is an ASCII linefeed, hex 0A
  5381.               \EOS - end of string marker, hex 0
  5382.               *    - a field dependent on the WSSINDEX version
  5383.               var  - variable length
  5384.  
  5385.               Length Contents
  5386.               (bytes)
  5387.  
  5388.           Header:
  5389.  
  5390.               9      "WSSINDEX\n"  (small  format)  of "WSEXTEND\n"  (large
  5391.                      format)
  5392.               4-6*   version number\n
  5393.               2 or 4 number of disks in database, 4 bytes if large format
  5394.               2 or 4 number of subdirectories (including root), 4  bytes if
  5395.                      large format
  5396.               2 or 4 number of files, 4 bytes if large format
  5397.  
  5398.           Disk record, repeated for each disk:
  5399.  
  5400.               11     volume name, blank padded to 11 chars (no \n or EOS)
  5401.               4      bytes on disk
  5402.               4      free bytes on disk
  5403.               2 or 4 number of files on disk, 4 bytes if large format
  5404.  
  5405.  
  5406.           Wssindex 5.22                   76                     Appendix C
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.               2 or 4 number of subdirectories on  disk (not counting root),
  5420.                      4 bytes if large format
  5421.               2      date indexed
  5422.               1      "Y" or "N" for bootable or not, "?" for dummy entry
  5423.  
  5424.           Subdirectory record, repeated for each subdirectory:
  5425.  
  5426.               2 or 4 disk number,  count starts at  zero, 4 bytes  if large
  5427.                      format
  5428.               var    subdirectory name\n
  5429.  
  5430.           File record, repeated for each file:
  5431.  
  5432.               9      file name\EOS    there may be garbage after  the \EOS.
  5433.                      \EOS is 1st character if this is a .ID record
  5434.               4      extension\EOS   there may be garbage after the \EOS
  5435.               2      date
  5436.               2      time
  5437.               4      size
  5438.               2 or 4 disk number,  high bit set if  file is a member  of an
  5439.                      archive file, 4 bytes if large format
  5440.               2 or 4 subdirectory  number (root  is 0)  for ordinary  file,
  5441.                      file  number of  containing  archive file  for archive
  5442.                      member, 4 bytes if large format
  5443.               1      "C" (if commented), else blank
  5444.               var    comment\n   if comments flag is "C"
  5445.               1*     "C" (if categorized), else  blank; field only  present
  5446.                      if written by version 2.00 or later
  5447.               var*   category\n  if category flag is "C"
  5448.  
  5449.           Note  that there is not a control-Z to  mark the end of file, and
  5450.           there may  be embedded control-Z's  in the  binary fields  (date,
  5451.           time, size, etc.).
  5452.  
  5453.           This information is subject to change in future releases.  Howev-
  5454.           er, I  do guarantee  that WSSINDEX  will always  be able to  read
  5455.           databases written by older versions of the program (possibly with
  5456.           a conversion utility).   Note that this guarantee does  not apply
  5457.           to configuration files.
  5458.  
  5459.                         Appendix E - Printer Definition Files
  5460.  
  5461.           Some of  the Wssindex output options  need to be able  to set the
  5462.           print pitch and line spacing on your printer (e.g., printing disk
  5463.           covers  or labels  which  require small  print).   Unfortunately,
  5464.           there is  no standard way to do this; all printers are different.
  5465.           So, Wssindex must be told how  to control your printer.  You sup-
  5466.           ply this information in a printer  definition file.  (I'd call it
  5467.           a configuration file, but that term is already  being used.)  The
  5468.           name of the  printer definition  file is set  by the  environment
  5469.           variable  WSSPRINT, analogous  to WSSICNF  and  WSSIDIR.   If not
  5470.           specified,  the default name is  WSSPRINT.DEF.  The  file is read
  5471.  
  5472.           Wssindex 5.22                   77                     Appendix D
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.           the  first time a print operation which needs the definition file
  5486.           is requested, or when you select "E" from the print menu.  
  5487.  
  5488.           The standard distribution  package includes definition  files for
  5489.           several  popular printers.   Some  of these  have been  tested on
  5490.           printers  available to me, some  have been donated  by users, and
  5491.           some were created by  looking at printer manuals or  driver files
  5492.           from  word processing programs.  The comments at the beginning of
  5493.           each  file indicate  whether or  not the  file has  been properly
  5494.           tested.  If none of the supplied definition files is adequate for
  5495.           your printer,  you will need  to look  up control  codes in  your
  5496.           printer manual and  modify one of the supplied  files.  I realize
  5497.           that it would be better  if I supplied definition files  for hun-
  5498.           dreds  of different printers, but  I don't have  the resources to
  5499.           create and test them.  Registered users who have problems config-
  5500.           uring  should send me a  photocopy of the  appropriate pages from
  5501.           their printer manual (usually the control codes are summarized in
  5502.           a few pages) and I will try to assist.  Of course, it may be that
  5503.           your printer does not accept any commands, in which case you must
  5504.           make any necessary selections manually.
  5505.  
  5506.           The format of the  definition files is designed for  easy editing
  5507.           with  a word processing  program.  The  file begins with  as many
  5508.           lines of comments as desired, until a line beginning with ---- is
  5509.           encountered.  After this, alternate lines are comments and param-
  5510.           eters.  The comment lines are  ignored when the file is read, but
  5511.           since  they tell you what  the parameters mean,  the only changes
  5512.           you should make are to add more detail.  Printer  command strings
  5513.           can be omitted, but  other parameters should have a  value filled
  5514.           in.
  5515.  
  5516.           Characters in the printer definition (other than the printer name
  5517.           and  owner id) are interpreted  as a series  of tokens optionally
  5518.           separated by blanks or commas.  Each token may be an octal, deci-
  5519.           mal,  or hex number, an  ascii character, or  a special abbrevia-
  5520.           tion.   Blank or comma  delimiters are only  necessary to resolve
  5521.           ambiguities about where one  token ends and the next  begins, but
  5522.           are recommended to improve human readability.
  5523.  
  5524.           Octal numbers - begin with a 0, contain only the  digits 0-7, and
  5525.           are not larger than 377.  Terminated by a comma, blank or special
  5526.           abbreviation.
  5527.  
  5528.           Decimal numbers - begin with a non-zero digit and  are not larger
  5529.           than 255.   Of course, zero  is entered  as 0.   Terminated by  a
  5530.           comma, blank or special abbreviation.
  5531.  
  5532.           Hexadecimal numbers - begin with 0x or 0X and are not larger than
  5533.           0xff.  Letters A-F (if used) can be lower or  upper case.  Termi-
  5534.           nated by a comma, blank or special abbreviation.
  5535.  
  5536.  
  5537.  
  5538.           Wssindex 5.22                   78                     Appendix E
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.           Ascii characters  - any  normal  character other  than a  number,
  5552.           comma, blank or backslash.  No terminator needed.
  5553.  
  5554.           Special abbreviations (may also be upper case) - 
  5555.  
  5556.              \digit - number as a character rather than a binary value
  5557.              \b     - backspace
  5558.              \c     - comma
  5559.              \e     - escape
  5560.              \f     - form feed
  5561.              \n     - newline (linefeed)
  5562.              \r     - carriage return
  5563.              \s     - blank (space)
  5564.              \t     - tab
  5565.              \\     - \
  5566.  
  5567.           Be careful of numbers; 1 means  the binary value 1 while \1 means
  5568.           the ascii character one which  has the binary value 31 hex  or 49
  5569.           decimal.   Printer manuals often are unclear  about this distinc-
  5570.           tion.
  5571.  
  5572.           To make the entries in the printer definition file more readable,
  5573.           I have adopted the convention that entries which code for a  sin-
  5574.           gle output  byte are separated by blanks, and the groups of char-
  5575.           acters which make up a single command to the printer are separat-
  5576.           ed by  commas.   For example:  suppose you want  to set  an Epson
  5577.           printer to 
  5578.  
  5579.              8 lines per inch           (command ESC "0")  (character 0)
  5580.              12 characters per inch     (command ESC "B" 2)
  5581.              double strike              (command ESC "G")
  5582.  
  5583.           The printer definition file entry could be:  \e \0,\e B 2,\e G
  5584.  
  5585.           To  continue a sequence on the following line, terminate the cur-
  5586.           rent line with a backslash.   There is a conversion table  in Ap-
  5587.           pendix E which may be useful in creating definition files.
  5588.  
  5589.           Margins, width  and length  specifications in this  file override
  5590.           those found in WSSINDEX.CNF when printing labels or covers.
  5591.  
  5592.           The definable items are:
  5593.  
  5594.           Printer name  - echoed to  the screen during  initialization, but
  5595.           otherwise not used.
  5596.  
  5597.           Three  sets of  printer initialization  commands - 50  chars max.
  5598.           (That's 50 characters after converting  to internal form.  Multi-
  5599.           digit numbers count as  one character, and blanks don't  count at
  5600.           all.)  The first set is used for multi-column printing,  the sec-
  5601.           ond  for disk labels, and  the third for  disk covers.  Typically
  5602.           this would include  commands to select  the number of  characters
  5603.  
  5604.           Wssindex 5.22                   79                     Appendix E
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.  
  5615.  
  5616.  
  5617.           per  inch printed and line spacing.   You may also be able to get
  5618.           very small characters by selecting subscript or superscript mode,
  5619.           although  some printers (like mine) are slow  in this mode and do
  5620.           not print characters  with descenders  very well.   You can  also
  5621.           include any other necessary initialization commands here, such as
  5622.           bold printing or form length.
  5623.  
  5624.           Printer deinitialization  command - 50  chars max.   This command
  5625.           string is  sent to the printer  after a print task  is completed.
  5626.           It could include a form feed to eject the last  page from a laser
  5627.           printer, or could reset default printer options.
  5628.  
  5629.           Left margin for labels - number of print positions to leave blank
  5630.           before printing the first column of labels.
  5631.  
  5632.           Number of columns for labels - the number  of blank labels across
  5633.           a row of your forms.
  5634.  
  5635.           Width of labels  - The number of characters which will fit across
  5636.           a  label (starting from the  left margin).   This effectively de-
  5637.           fines the right margin.
  5638.  
  5639.           Number  of characters  between labels  - for  multi-column forms,
  5640.           this is  the number of characters between the right margin of one
  5641.           label and the left margin of the next.
  5642.  
  5643.           Length of label in lines  - label size, including top and  bottom
  5644.           margin lines which you don't want to print on.
  5645.  
  5646.           Number of  usable lines  for label -  maximum number of  lines to
  5647.           print on a label.
  5648.  
  5649.           Left margin for disk covers - number of print  positions to leave
  5650.           blank  before printing left side of box which surrounds disk cov-
  5651.           ers.
  5652.  
  5653.           Width of paper for disk covers  - number of characters which will
  5654.           fit in 5.25 inches (or 3.5 or whatever disk size you use).
  5655.  
  5656.           Length  of page in lines for disk  covers - number of lines which
  5657.           will fit in 5.25 inches (or 3.75 inches for paste-on size).
  5658.  
  5659.           Position for the  next disk cover -  70 characters max.   Printer
  5660.           command to  position the paper  for the  next disk  cover.   This
  5661.           could be a form feed, or a number of line feeds.  A 0 (zero) here
  5662.           is  interpreted to mean manual  positioning, with a  pause at the
  5663.           end of each cover.
  5664.  
  5665.           Command  to use for sides of disk  cover box - 70 characters max.
  5666.           Disk cover  listings have a border drawn  around them.  The sides
  5667.           of  this border could be  a vertical stroke,  or your printer may
  5668.           have a better graphics character available.  If no suitable char-
  5669.  
  5670.           Wssindex 5.22                   80                     Appendix E
  5671.  
  5672.  
  5673.  
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.  
  5681.  
  5682.  
  5683.           acter  is available,  or for  faster printing,  just use  a blank
  5684.           (32).   Characters which form boxes on a printer may display very
  5685.           differently on screen.
  5686.  
  5687.           Command  to use for  top and  bottom lines  - 70  characters max.
  5688.           Probably a hyphen or a graphics character.
  5689.  
  5690.           Command to use for top left corner - 70 characters max.  If  your
  5691.           printer has box forming characters in its graphics character set,
  5692.           use them for  the corner  characters, otherwise you  can use  the
  5693.           same character as the top or sides, or a blank, or a plus, which-
  5694.           ever you think looks best.
  5695.  
  5696.           Command to use for top right corner - 70 characters max.
  5697.  
  5698.           Command to use for bottom left corner - 70 characters max.
  5699.  
  5700.           Command to use for bottom right corner - 70 characters max.
  5701.  
  5702.           End of printer definition file
  5703.           ----------
  5704.  
  5705.           Additional items may be added to this file in future releases  if
  5706.           users report that  there are printers which cannot  be adequately
  5707.           defined.  If you  create a definition file for a different print-
  5708.           er, especially  a laser printer,  I would appreciate  receiving a
  5709.           listing so that I will have it when the inevitable cries for help
  5710.           come in from other users.
  5711.  
  5712.           Registered users are encouraged to  suggest the custom print for-
  5713.           mats which they would like to see added to Wssindex.
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719.  
  5720.  
  5721.  
  5722.  
  5723.  
  5724.  
  5725.  
  5726.  
  5727.  
  5728.  
  5729.  
  5730.  
  5731.  
  5732.  
  5733.  
  5734.  
  5735.  
  5736.           Wssindex 5.22                   81                     Appendix E
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749.                      Appendix F - Character Code Conversion Table
  5750.  
  5751.             ascii decimal hex     ascii decimal hex     ascii decimal  hex
  5752.  
  5753.              NUL     0      0       +     43     2B       V      86     56
  5754.              SOH     1      1       ,     44     2C       W      87     57
  5755.              STX     2      2       -     45     2D       X      88     58
  5756.              ETX     3      3       .     46     2E       Y      89     59
  5757.              EOT     4      4       /     47     2F       Z      90     5A
  5758.              ENQ     5      5       0     48     30       [      91     5B
  5759.              ACK     6      6       1     49     31       \      92     5C
  5760.              BEL     7      7       2     50     32       ]      93     5D
  5761.              BS      8      8       3     51     33       ^      94     5E
  5762.              TAB     9      9       4     52     34       _      95     5F
  5763.              LF     10      A       5     53     35       `      96     60
  5764.              VT     11      B       6     54     36       a      97     61
  5765.              FF     12      C       7     55     37       b      98     62
  5766.              CR     13      D       8     56     38       c      99     63
  5767.              SO     14      E       9     57     39       d     100     64
  5768.              SI     15      F       :     58     3A       e     101     65
  5769.              DLE    16     10       ;     59     3B       f     102     66
  5770.              DC1    17     11       <     60     3C       g     103     67
  5771.              DC2    18     12       =     61     3D       h     104     68
  5772.              DC3    19     13       >     62     3E       i     105     69
  5773.              DC4    20     14       ?     63     3F       j     106     6A
  5774.              NAK    21     15       @     64     40       k     107     6B
  5775.              SYN    22     16       A     65     41       l     108     6C
  5776.              ETB    23     17       B     66     42       m     109     6D
  5777.              CAN    24     18       C     67     43       n     110     6E
  5778.              EM     25     19       D     68     44       o     111     6F
  5779.              SUB    26     1A       E     69     45       p     112     70
  5780.              ESC    27     1B       F     70     46       q     113     71
  5781.              FS     28     1C       G     71     47       r     114     72
  5782.              GS     29     1D       H     72     48       s     115     73
  5783.              RS     30     1E       I     73     49       t     116     74
  5784.              US     31     1F       J     74     4A       u     117     75
  5785.                     32     20       K     75     4B       v     118     76
  5786.              !      33     21       L     76     4C       w     119     77
  5787.              "      34     22       M     77     4D       x     120     78
  5788.              #      35     23       N     78     4E       y     121     79
  5789.              $      36     24       O     79     4F       z     122     7A
  5790.              %      37     25       P     80     50       {     123     7B
  5791.              &      38     26       Q     81     51       |     124     7C
  5792.              '      39     27       R     82     52       }     125     7D
  5793.              (      40     28       S     83     53       ~     126     7E
  5794.              )      41     29       T     84     54       DEL   127     7F
  5795.              *      42     2A       U     85     55
  5796.  
  5797.           Three letter combinations are non-printing control characters.
  5798.  
  5799.  
  5800.  
  5801.  
  5802.           Wssindex 5.22                   82                     Appendix F
  5803.  
  5804.  
  5805.  
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815.           In WSSINDEX versions for non-IBM compatible machines, all of  the
  5816.           executable files  are different,  but this documentation  file is
  5817.           unchanged.  Beware of trying  to transfer configuration files be-
  5818.           tween versions  of WSSINDEX  for different machines.   Generally,
  5819.           this is only safe if  DOS-calls video is selected, and even  then
  5820.           you should  examine the transferred configuration  for any anoma-
  5821.           lies.   Printer definition  files and databases  are transferable
  5822.           between versions.
  5823.  
  5824.  
  5825.                         Appendix G - WSSINDEX for DEC Rainbow
  5826.  
  5827.           I  now own  a minimally  configured Rainbow  100A for  testing so
  5828.           Rainbow  and IBM releases should be  roughly coincident.  Rainbow
  5829.           versions will normally be sent on RX-50 format disks, which I can
  5830.           write  either on the Rainbow or on a 1.2 MB drive using a special
  5831.           device driver.
  5832.  
  5833.           The  Rainbow  version of WSSINDEX is the same as the IBM  version
  5834.           with the following exceptions:
  5835.  
  5836.           1.  Color  is not supported but fast video display and 132 column
  5837.               screens are supported.  For fast video, specify SET WSSDISP=V
  5838.               or use the included RAINBOW.CNF configuration file.
  5839.  
  5840.           2.  The add-comments menu uses a different set of keys, which are
  5841.               shown  in the menu.  Keyboard macros are triggered by COMPOSE
  5842.               CHARACTER or F20 followed by a letter rather than Alt-letter.
  5843.               For hardware reasons, the  COMPOSE key can only be  used as a
  5844.               function  key  on a  100A,  so  I have  dropped  it from  the
  5845.               on-screen menus.
  5846.  
  5847.           3.  Use the CANCEL key rather than the ESCAPE key  to cancel com-
  5848.               mands.   If the  screen gets messed  up, the MAIN  SCREEN key
  5849.               forces a screen reset the next time the screen is cleared.
  5850.  
  5851.           4.  HELP, F19 and F4 substitute for Alt-F1, END and control-END.
  5852.  
  5853.           5.  Line editing  uses the delete  key rather than  the backspace
  5854.               key (actually either can be used).
  5855.  
  5856.           6.  The version number has an "R" appended.  A database stored on
  5857.               disk will be one byte longer, but  readable by an IBM version
  5858.               of the program (assuming  you can get around disk  format in-
  5859.               compatibilities).
  5860.  
  5861.           7.  The cut-and-paste program CUTPAST3 doesn't work on a Rainbow.
  5862.               I instead include  RNP.COM, but it is  not really equivalent.
  5863.               VIEW.COM doesn't work either, and I do not  know of an alter-
  5864.               native viewer.
  5865.  
  5866.  
  5867.  
  5868.           Wssindex 5.22                   83                     Appendix G
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881.                       Appendix H - WSSINDEX for TI Professional
  5882.  
  5883.           I now own a minimally  configured TI Pro for testing, so  Pro and
  5884.           IBM releases should be roughly coincident.
  5885.  
  5886.           The  Texas Instruments  Professional computer  does not  have IBM
  5887.           compatible video, so the standard version cannot run using direct
  5888.           video writes.   Also, there is  a bug in the  TI ANSI.SYS support
  5889.           which prevents color selection from working properly.  Patches to
  5890.           fix this are available, but they depend  on the DOS version being
  5891.           used.   They should not  be necessary if direct  video writes are
  5892.           enabled.  (While  I have some of  the patch files, I  do not have
  5893.           one for the version of DOS which came with my TI Pro.  However, a
  5894.           user verifies  that color selection  works properly in  DOS calls
  5895.           mode.)
  5896.  
  5897.           The major difference  in the TI  Pro version is  that the  screen
  5898.           output  routines know how to  access the TI  video hardware.  Ad-
  5899.           justments are also  made for IBM  keys not found  on the TI  key-
  5900.           board.
  5901.  
  5902.           The built-in default colors are not appropriate for the TI Pro; I
  5903.           suggest  using the included TI.CNF  file as a  starting point for
  5904.           configuring.   Set WSSDISP=V  for fast screen  updating by direct
  5905.           video writes.
  5906.  
  5907.  
  5908.  
  5909.  
  5910.  
  5911.  
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.           Wssindex 5.22                   84                     Appendix H
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.                    Appendix I - Parameters for setting screen sizes
  5948.  
  5949.           Video board BIOS's often  support text modes beyond the  usual 80
  5950.           columns    25 rows.   Unfortunately, there are  few standards for
  5951.           selecting  these modes.  In  particular, the modes  wider than 80
  5952.           columns,  which can be very  useful when viewing  a database with
  5953.           comments,  cannot be set without knowing what brand of video card
  5954.           is in use.  The table below lists the AX values which need  to be
  5955.           entered into the Video Board Configuration menu and the resulting
  5956.           screen sizes.  (BX value is also listed for the Vega VGA.)  Modes
  5957.           are color unless specified as mono.  Available modes  may be lim-
  5958.           ited by the amount of video memory on your board, or by the capa-
  5959.           bilities of your monitor.  If your board is not listed here, your
  5960.           manual may include the  necessary information.  Note that  the AX
  5961.           value listed  here is decimal  and the  selected mode must  be an
  5962.           alpha mode, not a graphics mode.
  5963.  
  5964.           The  first 5  entries should  work with  almost any  video board.
  5965.           AX=2,3 or 7 is usually what you want to set when exiting or push-
  5966.           ing to DOS.
  5967.  
  5968.           Board     AX    Screen size       Board     AX    Screen size
  5969.  
  5970.           CGA (or    2    80x25  mono       AT&T      84    132x43
  5971.             higher)  3    80x25               VDC600  85    132x25
  5972.           MDA        7    80x25  mono                 86    132x43 2-color
  5973.           EGA     4370    80x43                       87    132x25 2-color
  5974.           VGA     4370    80x50
  5975.  
  5976.           2-the-Max 34    132x44 2-color    ATI EGA   35    132x25
  5977.             VGA     36    132x28 2-color      Wonder  39    132x25 mono
  5978.                     37    132x25 2-color              51    132x44
  5979.                     38    80x60  2-color              55    132x44 mono
  5980.                     42    100x40 2-color              88    80x33
  5981.  
  5982.                                             ATI VIP   35    132x25
  5983.           Ahead Sys 34    132x44                      39    132x25 mono
  5984.             EGA2001 35    132x25                      51    132x44
  5985.                     80    132x25 mono                 55    132x44 mono
  5986.                     82    132x44 mono                 85    80x66
  5987.                                                       88    80x33
  5988.           Allstar   34    132x43                      89    80x66
  5989.             Peacock 35    132x28
  5990.                     36    132x25            ATI VGA   51    132x44
  5991.                     38    80x60               Wonder  35    132x25
  5992.                     42    100x40                      55    132x44 mono
  5993.                                                       39    132x25 mono
  5994.           AST VGA   84    132x43
  5995.             Plus    85    132x25            Hewlett-  84    132x43
  5996.                                               Packard 85    132x25
  5997.                                               D1180A
  5998.  
  5999.  
  6000.           Wssindex 5.22                   85                     Appendix I
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012.  
  6013.           Board     AX    Screen size       Board     AX    Screen size
  6014.  
  6015.           Lava      80    80x34             Tseng     24    132x44 mono
  6016.             Chrome  81    80x30               Labs    25    132x25 mono
  6017.             II EGA  82    80x60               EVA     26    132x28 mono
  6018.                     83    132x43                      34    132x44
  6019.                     84    132x25                      35    132x25
  6020.                                                       36    132x28
  6021.           NSI Smart 86    132x43                      38    80x60
  6022.             EGA+    87    132x25
  6023.                                             VEGA VGA  BX    AX=28421
  6024.           Paradise  81    80x30                       64    80x43
  6025.             EGA-480 84    132x43                      65    132x25
  6026.                     85    132x25                      66    132x43
  6027.                                                       67    80x60
  6028.           Paradise  84    132x43                      68    100x60
  6029.             VGA     85    132x25                      77    120x25
  6030.                     86    132x43                      78    120x43
  6031.                     87    132x25                      79    132x25
  6032.                                                       80    80x43  mono
  6033.           Tatung    64    80x43                       81    132x25 mono
  6034.             VGA     65    132x25                      82    132x43 mono
  6035.                     66    132x43
  6036.                     67    80x60             Video 7   64    80x43
  6037.                     68    100x60              V-RAM   65    132x25
  6038.                     69    132x28                      66    132x43
  6039.                                                       67    80x60
  6040.           Taxan 565 84    132x43                      68    100x60
  6041.             EGA     85    132x25                      69    132x28
  6042.                     86    132x43 mono
  6043.                     87    132x25 mono
  6044.  
  6045.           Tecmar    23    132x25
  6046.             VGA/AD  64    80x43
  6047.  
  6048.  
  6049.  
  6050.  
  6051.  
  6052.  
  6053.  
  6054.  
  6055.  
  6056.  
  6057.  
  6058.  
  6059.  
  6060.  
  6061.  
  6062.  
  6063.  
  6064.  
  6065.  
  6066.           Wssindex 5.22                   86                     Appendix I
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.